Mercurial > dovecot > core-2.2
changeset 22509:a9e00067e9e3
director: Avoid "ring sync timeout" errors when all backends are down
doveadm commands were failing with it. Also pending request failures were
logged as failing due to ring sync timeout, instead of because no hosts.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Thu, 14 Sep 2017 12:50:29 +0300 |
parents | d89f498fc00c |
children | 3c4348ffe0d6 |
files | src/director/main.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/director/main.c Thu Sep 14 13:02:40 2017 +0300 +++ b/src/director/main.c Thu Sep 14 12:50:29 2017 +0300 @@ -231,7 +231,7 @@ ARRAY(struct director_request *) new_requests; bool ret; - if (!dir->ring_synced || !mail_hosts_have_usable(dir->mail_hosts)) + if (!dir->ring_synced) return; /* if there are any pending client requests, finish them now */