mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
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
129d14e143
commit
c7b68d10ea
@ -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…
Reference in New Issue
Block a user