mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
redis-cli: Fix integer overflow in intrinsic-latency (#8907)
This commit is contained in:
parent
152fce5e2c
commit
a62801eb53
@ -8142,7 +8142,7 @@ static void intrinsicLatencyModeStop(int s) {
|
||||
static void intrinsicLatencyMode(void) {
|
||||
long long test_end, run_time, max_latency = 0, runs = 0;
|
||||
|
||||
run_time = config.intrinsic_latency_duration*1000000;
|
||||
run_time = (long long)config.intrinsic_latency_duration * 1000000;
|
||||
test_end = ustime() + run_time;
|
||||
signal(SIGINT, intrinsicLatencyModeStop);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user