diff --git a/src/redis.c b/src/redis.c index e8a54be7..613f5036 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