Skip to content

Commit

Permalink
Reestablish the previous rate limiting settings (#5175)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmicoton authored Jun 27, 2024
1 parent de2e150 commit cdbab20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quickwit/quickwit-control-plane/src/model/shard_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ use tracing::{error, info, warn};

/// Limits the number of shards that can be opened for scaling up a source to 12 per minute.
const SCALING_UP_RATE_LIMITER_SETTINGS: RateLimiterSettings = RateLimiterSettings {
burst_limit: 30,
rate_limit: ConstantRate::new(30, Duration::from_secs(60)),
refill_period: Duration::from_secs(2),
burst_limit: 12,
rate_limit: ConstantRate::new(5, Duration::from_secs(60)),
refill_period: Duration::from_secs(5),
};

/// Limits the number of shards that can be closed for scaling down a source to 2 per minute.
Expand Down

0 comments on commit cdbab20

Please sign in to comment.