diff options
author | Ozan Tezcan <ozantezcan@gmail.com> | 2022-08-11 15:28:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 15:28:16 +0300 |
commit | 99ebbee2b260b3466672b4fa351cf1cb5e9b5fe9 (patch) | |
tree | 81b8ac555d502f4fc022cd5bc4f6272337201e1d /redis.conf | |
parent | 44859a41ee63b52632f0726d7bf1e6ca1ce47f83 (diff) | |
download | redis-99ebbee2b260b3466672b4fa351cf1cb5e9b5fe9.tar.gz |
Fix overflow in redis-benchmark (#11102)
Fix overflow in redis-benchmark affecting latency measurements on 32bit builds.
If `long` is 4 bytes (typical on 32 bit systems), multiplication overflows.
Using `long long` will fix the issue as it is guaranteed to be at least 8 bytes.
Also, I've added a change to reuse `ustime()` for `mstime()`.
Diffstat (limited to 'redis.conf')
0 files changed, 0 insertions, 0 deletions