diff --git a/src/redis.c b/src/redis.c index f2bb87fd..84e5560e 100644 --- a/src/redis.c +++ b/src/redis.c @@ -945,6 +945,7 @@ void initServer() { } if (server.ds_enabled) dsInit(); + srand(time(NULL)^getpid()); } /* Populates the Redis Command Table starting from the hard coded list