dovecot-2.2: replicator: Send initial status notification to mas...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Nov 9 07:32:17 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/f5e997d20461
changeset: 19344:f5e997d20461
user: Timo Sirainen <tss at iki.fi>
date: Mon Nov 09 09:31:48 2015 +0200
description:
replicator: Send initial status notification to master before listing all users
To avoid master process from killing us after 30 seconds if the user listing
takes longer than that.
diffstat:
src/replication/replicator/replicator.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r c129d92e2735 -r f5e997d20461 src/replication/replicator/replicator.c
--- a/src/replication/replicator/replicator.c Thu Nov 05 11:41:52 2015 +0200
+++ b/src/replication/replicator/replicator.c Mon Nov 09 09:31:48 2015 +0200
@@ -104,9 +104,11 @@
restrict_access_by_env(NULL, FALSE);
restrict_access_allow_coredumps(TRUE);
+ /* finish init before we get list of users from auth, because that
+ can take long enough for master process to kill us otherwise. */
+ master_service_init_finish(master_service);
main_init();
- master_service_init_finish(master_service);
master_service_run(master_service, client_connected);
main_deinit();
More information about the dovecot-cvs
mailing list