override eviction policy for flash
Former-commit-id: 48a4f967e66ba765be96c9f8e113f808a4390f88
This commit is contained in:
parent
8f8895a2f0
commit
56edd3f759
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user