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
{{ message }}
This repository was archived by the owner on Jan 12, 2023. It is now read-only.
Add option to limit concurrent queries to Cassandra. (cortexproject#2562)
* Add option to limit concurrent queries to Cassandra.
Signed-off-by: Tom Wilkie <[email protected]>
* go mod vendor
Signed-off-by: Tom Wilkie <[email protected]>
* Add changelog entry.
Signed-off-by: Tom Wilkie <[email protected]>
* Review feedback.
Signed-off-by: Tom Wilkie <[email protected]>
f.IntVar(&cfg.Retries, "cassandra.max-retries", 0, "Number of retries to perform on a request. (Default is 0: no retries)")
63
65
f.DurationVar(&cfg.MinBackoff, "cassandra.retry-min-backoff", 100*time.Millisecond, "Minimum time to wait before retrying a failed request. (Default = 100ms)")
64
66
f.DurationVar(&cfg.MaxBackoff, "cassandra.retry-max-backoff", 10*time.Second, "Maximum time to wait before retrying a failed request. (Default = 10s)")
67
+
f.IntVar(&cfg.QueryConcurrency, "cassandra.query-concurrency", 0, "Limit number of concurrent queries to Cassandra. (Default is 0: no limit)")
0 commit comments