Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8513a757
Commit
8513a757
authored
May 20, 2010
by
antirez
Browse files
minor change to shutdown
parent
fab43727
Changes
1
Show whitespace changes
Inline
Side-by-side
redis.c
View file @
8513a757
...
...
@@ -4180,7 +4180,6 @@ static int prepareForShutdown() {
if (server.daemonize)
unlink(server.pidfile);
redisLog(REDIS_WARNING,"%zu bytes used at exit",zmalloc_used_memory());
redisLog
(
REDIS_WARNING
,
"Server exit now, bye bye..."
);
} else {
/* Ooops.. error saving! The best we can do is to continue
* operating. Note that if there was a background saving process,
...
...
@@ -4191,6 +4190,7 @@ static int prepareForShutdown() {
return REDIS_ERR;
}
}
redisLog(REDIS_WARNING,"Server exit now, bye bye...");
return REDIS_OK;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment