mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
redis-cli --bigkeys output modified to be simpler to read..
This commit is contained in:
parent
f26761aa10
commit
5386f72d00
@ -1030,7 +1030,7 @@ static void findBigKeys(void) {
|
||||
reply3 = redisCommand(context,"%s %s", sizecmd, reply1->str);
|
||||
if (reply3 && reply3->type == REDIS_REPLY_INTEGER) {
|
||||
if (biggest[type] < reply3->integer) {
|
||||
printf("Biggest %s so far: %s, size: %llu\n",
|
||||
printf("[%6s] %s | biggest so far with size %llu\n",
|
||||
typename[type], reply1->str,
|
||||
(unsigned long long) reply3->integer);
|
||||
biggest[type] = reply3->integer;
|
||||
|
Loading…
Reference in New Issue
Block a user