From: Timo Sirainen Date: Mon, 17 Aug 2020 12:39:19 +0000 (+0300) Subject: imap-hibernate: Add imap_client_unhibernate_retried event X-Git-Tag: 2.3.13~355 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7c90fb07238b6b3483d6e9c2389beff39c83c18f;p=thirdparty%2Fdovecot%2Fcore.git imap-hibernate: Add imap_client_unhibernate_retried event --- diff --git a/src/imap-hibernate/imap-client.c b/src/imap-hibernate/imap-client.c index a3173571ac..ac38a31cfa 100644 --- a/src/imap-hibernate/imap-client.c +++ b/src/imap-hibernate/imap-client.c @@ -262,6 +262,10 @@ static bool imap_client_try_move_back(struct imap_client *client) return TRUE; } + e_debug(event_create_passthrough(client->event)-> + set_name("imap_client_unhibernate_retried")-> + add_str("error", error)->event(), + "Unhibernation failed: %s - retrying", error); /* Stop listening for client's IOs while waiting for the next reconnection attempt. However if we got here because of an external notification keep waiting to see if client sends any IO, since that