Prune leftover TODO comment
Is it sufficient... ? -- Yes it is. In standalone mode, we say READY=1 at the comment point; however in replicated mode, we delay sending READY=1 until the replication sync completes.
This commit is contained in:
parent
413cb62865
commit
ca70f5f070
@ -5100,7 +5100,6 @@ int main(int argc, char **argv) {
|
||||
if (server.sofd > 0)
|
||||
serverLog(LL_NOTICE,"The server is now ready to accept connections at %s", server.unixsocket);
|
||||
if (server.supervised_mode == SUPERVISED_SYSTEMD) {
|
||||
/* XXX TODO is this sufficient to pass readiness control off to readSyncBulkPayload()? */
|
||||
if (!server.masterhost) {
|
||||
redisCommunicateSystemd("STATUS=Ready to accept connections\n");
|
||||
redisCommunicateSystemd("READY=1\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user