Merge branch 'keydbpro' into PRO_RELEASE_6

Former-commit-id: 5db2ab0ef538391eb2e20cce6a6af6b750458db0
This commit is contained in:
John Sully 2020-02-17 22:27:11 -05:00
commit 4dbdce7494

View File

@ -327,6 +327,10 @@ bool initializeStorageProvider(const char **err)
g_pserver->maxmemory_policy = MAXMEMORY_ALLKEYS_LRU; g_pserver->maxmemory_policy = MAXMEMORY_ALLKEYS_LRU;
} }
} }
else if (g_pserver->maxmemory_policy == MAXMEMORY_NO_EVICTION)
{
g_pserver->maxmemory_policy = MAXMEMORY_ALLKEYS_LRU;
}
} }
else else
{ {