dovecot-2.2: director: When logging a warning about ring being s...

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 12 00:05:28 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/389f084b3d2a
changeset: 18064:389f084b3d2a
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 12 02:04:14 2014 +0200
description:
director: When logging a warning about ring being synced again, log how many seconds it took

diffstat:

 src/director/director.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 91c525000811 -r 389f084b3d2a src/director/director.c
--- a/src/director/director.c	Wed Nov 12 01:59:48 2014 +0200
+++ b/src/director/director.c	Wed Nov 12 02:04:14 2014 +0200
@@ -274,7 +274,9 @@
 	if (dir->to_handshake_warning != NULL)
 		timeout_remove(&dir->to_handshake_warning);
 	if (dir->ring_handshake_warning_sent) {
-		i_warning("Ring is synced, continuing delayed requests");
+		i_warning("Ring is synced, continuing delayed requests "
+			  "(syncing took %d secs)",
+			  (int)(ioloop_time - dir->ring_last_sync_time));
 		dir->ring_handshake_warning_sent = FALSE;
 	}
 


More information about the dovecot-cvs mailing list