summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorOzan Tezcan <ozantezcan@gmail.com>2022-08-11 15:28:16 +0300
committerGitHub <noreply@github.com>2022-08-11 15:28:16 +0300
commit99ebbee2b260b3466672b4fa351cf1cb5e9b5fe9 (patch)
tree81b8ac555d502f4fc022cd5bc4f6272337201e1d /redis.conf
parent44859a41ee63b52632f0726d7bf1e6ca1ce47f83 (diff)
downloadredis-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