mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
minor change to shutdown
This commit is contained in:
parent
fab43727b4
commit
8513a757ab
2
redis.c
2
redis.c
@ -4180,7 +4180,6 @@ static int prepareForShutdown() {
|
|||||||
if (server.daemonize)
|
if (server.daemonize)
|
||||||
unlink(server.pidfile);
|
unlink(server.pidfile);
|
||||||
redisLog(REDIS_WARNING,"%zu bytes used at exit",zmalloc_used_memory());
|
redisLog(REDIS_WARNING,"%zu bytes used at exit",zmalloc_used_memory());
|
||||||
redisLog(REDIS_WARNING,"Server exit now, bye bye...");
|
|
||||||
} else {
|
} else {
|
||||||
/* Ooops.. error saving! The best we can do is to continue
|
/* Ooops.. error saving! The best we can do is to continue
|
||||||
* operating. Note that if there was a background saving process,
|
* operating. Note that if there was a background saving process,
|
||||||
@ -4191,6 +4190,7 @@ static int prepareForShutdown() {
|
|||||||
return REDIS_ERR;
|
return REDIS_ERR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
redisLog(REDIS_WARNING,"Server exit now, bye bye...");
|
||||||
return REDIS_OK;
|
return REDIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user