diff --git a/src/redis.c b/src/redis.c index e8a54be7e2d6020f18bbec684fde5fd10a298dfa..613f5036d665ad9653ad443416f89222be366937 100644 --- a/src/redis.c +++ b/src/redis.c @@ -916,6 +916,7 @@ void initServer() { } if (server.vm_enabled) vmInit(); + srand(time(NULL)^getpid()); } /* Populates the Redis Command Table starting from the hard coded list