diff --git a/utils/sender/src/main.rs b/utils/sender/src/main.rs index 179b0af..7f813b6 100644 --- a/utils/sender/src/main.rs +++ b/utils/sender/src/main.rs @@ -96,7 +96,7 @@ fn main() -> Result<(), Box> { // Assume number of senders equal to TPS if not specified. let n_sender_tasks = if args.batch > 0 { args.tps / args.batch } else { args.tps }; let n_tx_sender = args.total_senders.unwrap_or(args.tps); - let worker_sleep = (1_000f64 * (n_sender_tasks as f64 / args.tps as f64)) as u64; + let worker_sleep = 1_000u64; //f64 * (n_sender_tasks as f64 / args.tps as f64)) as u64; log::info!("worker_sleep = {}", worker_sleep);