Commit 7377aacd authored by antirez's avatar antirez
Browse files

seed the random number generator at startup

parent eece2d52
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment