You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -81,7 +75,6 @@ func (o *ResourceIndexerOptions) AddFlags(fs *pflag.FlagSet) {
81
75
fs.StringVar(&o.NatsStreamName, "nats-stream-name", o.NatsStreamName, "The name of the JetStream stream.")
82
76
fs.DurationVar(&o.NatsAckWait, "nats-ack-wait", o.NatsAckWait, "The time to wait for an acknowledgement.")
83
77
fs.IntVar(&o.NatsMaxInFlight, "nats-max-in-flight", o.NatsMaxInFlight, "The maximum number of in-flight messages.")
84
-
fs.DurationVar(&o.ResourceIndexPolicySyncInterval, "resource-index-policy-sync-interval", o.ResourceIndexPolicySyncInterval, "How often to re-sync ResourceIndexPolicies.")
85
78
fs.StringVar(&o.MeilisearchDomain, "meilisearch-domain", o.MeilisearchDomain, "Domain of the Meilisearch instance.")
86
79
fs.DurationVar(&o.MeilisearchTaskWaitTimeout, "meilisearch-task-wait-timeout", o.MeilisearchTaskWaitTimeout, "Timeout for waiting for Meilisearch tasks to complete.")
87
80
fs.DurationVar(&o.MeilisearchHTTPTimeout, "meilisearch-http-timeout", o.MeilisearchHTTPTimeout, "Timeout for HTTP requests to Meilisearch.")
@@ -116,9 +109,6 @@ func (o *ResourceIndexerOptions) Validate() error {
116
109
ifo.NatsMaxInFlight<1 {
117
110
returnfmt.Errorf("nats-max-in-flight must be greater than 0")
0 commit comments