Use commands (effects) replication by default in scripts.

See issue #5250 and issue #5292 for more info.
This commit is contained in:
antirez
2018-09-05 19:33:56 +02:00
parent 7e11825ef4
commit 7895835df6
3 changed files with 8 additions and 1 deletions

View File

@ -917,7 +917,6 @@ void scriptingInit(int setup) {
server.lua_client = NULL;
server.lua_caller = NULL;
server.lua_timedout = 0;
server.lua_always_replicate_commands = 0; /* Only DEBUG can change it.*/
ldbInit();
}