From 54336beb768f86e63bb59a2637f248c27addfc0e Mon Sep 17 00:00:00 2001 From: "zhaozhao.zz" Date: Tue, 28 Nov 2023 17:37:01 +0800 Subject: [PATCH] format indentation --- src/evict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evict.c b/src/evict.c index 080d50e23b3..fd18cea4d7a 100644 --- a/src/evict.c +++ b/src/evict.c @@ -610,8 +610,8 @@ int performEvictions(void) { /* If there are not a lot of keys in the current db, dict/s may be very * sparsely populated, exit the loop without meeting the sampling * requirement. */ - if (current_db_keys < (unsigned long) server.maxmemory_samples*10) - break; + if (current_db_keys < (unsigned long) server.maxmemory_samples*10) + break; } while (sampled_keys < (unsigned long) server.maxmemory_samples); } if (!total_keys) break; /* No keys to evict. */