mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 05:21:33 +00:00
Move Replication Script Cache initialization in safer place.
It should be called just one time at startup and not every time the Lua scripting engine is re-initialized, otherwise memory is leaked.
This commit is contained in:
@ -1517,6 +1517,7 @@ void initServer() {
|
||||
}
|
||||
|
||||
if (server.cluster_enabled) clusterInit();
|
||||
replicationScriptCacheInit();
|
||||
scriptingInit();
|
||||
slowlogInit();
|
||||
bioInit();
|
||||
|
Reference in New Issue
Block a user