Skip to content

Commit

Permalink
Remove rate limiter.
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitkulshreshtha committed Dec 5, 2024
1 parent 9355b65 commit fc0d35e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions datastores/gossip_kv/load_test_server/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,8 @@ fn run_server(
let put_throughput = opts.max_set_throughput;

local.spawn_local(async move {
let rate_limiter = RateLimiter::direct(Quota::per_second(
NonZeroU32::new(put_throughput).unwrap(),
));
let key_master : u64 = 100;
loop {
rate_limiter.until_ready().await;
let request = ClientRequest::Set {
key: key_master.clone(),
value: "FOOBAR".to_string(),
Expand Down

0 comments on commit fc0d35e

Please sign in to comment.