Skip to content

Commit

Permalink
format indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
soloestoy committed Nov 28, 2023
1 parent 0409312 commit 54336be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/evict.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 54336be

Please sign in to comment.