Skip to content

Commit

Permalink
adjust clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: hwware <[email protected]>
  • Loading branch information
hwware committed Feb 3, 2025
1 parent a6f17a2 commit 77781b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -2505,9 +2505,8 @@ static int updateMaxmemoryReserved(const char **err) {
server.key_eviction_memory = server.maxmemory - server.maxmemory_reserved;
size_t used = zmalloc_used_memory() - freeMemoryGetNotCountedMemory();
if (server.key_eviction_memory < used) {
serverLog(LL_WARNING,
"WARNING: the difference between memory usage and maxmemory is less than reserved memory. "
"This will result in key eviction depending on the maxmemory-policy. But server can still accept new write commands.");
serverLog(LL_WARNING, "WARNING: the difference between memory usage and maxmemory is less than reserved memory. "
"This will result in key eviction depending on the maxmemory-policy. But server can still accept new write commands.");
}
startEvictionTimeProc();
} else {
Expand Down

0 comments on commit 77781b3

Please sign in to comment.