mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 05:21:33 +00:00
Merge remote-tracking branch 'origin/2.6' into 2.6
This commit is contained in:
@ -2579,6 +2579,11 @@ int main(int argc, char **argv) {
|
||||
redisLog(REDIS_NOTICE,"The server is now ready to accept connections at %s", server.unixsocket);
|
||||
}
|
||||
|
||||
/* Warning the user about suspicious maxmemory setting. */
|
||||
if (server.maxmemory > 0 && server.maxmemory < 1024*1024) {
|
||||
redisLog(REDIS_WARNING,"WARNING: You specified a maxmemory value that is less than 1MB (current value is %llu bytes). Are you sure this is what you really want?", server.maxmemory);
|
||||
}
|
||||
|
||||
aeSetBeforeSleepProc(server.el,beforeSleep);
|
||||
aeMain(server.el);
|
||||
aeDeleteEventLoop(server.el);
|
||||
|
Reference in New Issue
Block a user