mirror of
https://github.com/fluencelabs/redis
synced 2025-06-17 19:21:21 +00:00
more work converting vm into object cache
This commit is contained in:
@ -623,7 +623,7 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
|
||||
while (server.ds_enabled && zmalloc_used_memory() >
|
||||
server.cache_max_memory)
|
||||
{
|
||||
cacheFreeOneEntry();
|
||||
if (cacheFreeOneEntry() == REDIS_ERR) break;
|
||||
}
|
||||
|
||||
/* Replication cron function -- used to reconnect to master and
|
||||
|
Reference in New Issue
Block a user