Mercurial > dovecot > core-2.2
changeset 22681:592564b39e03
director: DIRECTOR-LIST - Add "ring " prefix to self's status
This is to make it a bit easier to understand the difference between a
connection's "handshaking" state vs. "ring handshaking" state.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sun, 26 Nov 2017 12:20:26 +0200 |
parents | 21e9717ba702 |
children | 6fdc4e5710c8 |
files | src/director/doveadm-connection.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/director/doveadm-connection.c Sun Nov 26 12:19:36 2017 +0200 +++ b/src/director/doveadm-connection.c Sun Nov 26 12:20:26 2017 +0200 @@ -173,11 +173,11 @@ static void doveadm_director_append_status(struct director *dir, string_t *str) { if (!dir->ring_handshaked) - str_append(str, "handshaking"); + str_append(str, "ring handshaking"); else if (dir->ring_synced) - str_append(str, "synced"); + str_append(str, "ring synced"); else { - str_printfa(str, "syncing - last sync %d secs ago", + str_printfa(str, "ring syncing - last sync %d secs ago", (int)(ioloop_time - dir->ring_last_sync_time)); } str_printfa(str, "\t%u", dir->last_sync_msecs);