mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
Display the port on server startup.
This commit is contained in:
parent
ed329fcf25
commit
46713f83d4
2
redis.c
2
redis.c
@ -3063,7 +3063,7 @@ int main(int argc, char **argv) {
|
||||
redisLog(REDIS_NOTICE,"DB loaded from disk");
|
||||
if (aeCreateFileEvent(server.el, server.fd, AE_READABLE,
|
||||
acceptHandler, NULL, NULL) == AE_ERR) oom("creating file event");
|
||||
redisLog(REDIS_NOTICE,"The server is now ready to accept connections");
|
||||
redisLog(REDIS_NOTICE,"The server is now ready to accept connections on port %d", server.port);
|
||||
aeMain(server.el);
|
||||
aeDeleteEventLoop(server.el);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user