# HG changeset patch # User Timo Sirainen # Date 1505382629 -10800 # Node ID a9e00067e9e35e7e3f4bc987a90bd02ebb22066c # Parent d89f498fc00ccd1cb1958f65e2a4494d0f097ec0 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. diff -r d89f498fc00c -r a9e00067e9e3 src/director/main.c --- 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 */