enable zmalloc thread safety support now that we have the bio.c background thread.

This commit is contained in:
antirez 2011-09-14 19:09:48 +02:00
parent e0ba14557e
commit 7feb90fa37

View File

@ -1729,6 +1729,7 @@ void redisAsciiArt(void) {
int main(int argc, char **argv) {
long long start;
zmalloc_enable_thread_safeness();
initServerConfig();
if (argc == 2) {
if (strcmp(argv[1], "-v") == 0 ||