diff --git a/src/server.cpp b/src/server.cpp index 13086037d..e5ddd7a83 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3555,6 +3555,7 @@ void call(client *c, int flags) { /* Call the command. */ dirty = g_pserver->dirty; updateCachedTime(0); + incrementMvccTstamp(); start = g_pserver->ustime; c->cmd->proc(c); serverTL->commandsExecuted++; @@ -3838,8 +3839,6 @@ int processCommand(client *c, int callFlags) { } } - incrementMvccTstamp(); - /* Handle the maxmemory directive. * * Note that we do not want to reclaim memory if we are here re-entering