diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-02-12 23:08:18 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-02-19 15:24:55 +0100 |
commit | 11a4d5b71c12ff358916f1e0d0aed2cc26f9ea98 (patch) | |
tree | dfc0a4916ddd4bccf7c7e26f33f715388c2e329f /commands/msg/unsubscribe.go | |
parent | bb0f1801402e98266d2554a5f002dc8ce0419808 (diff) | |
download | aerc-11a4d5b71c12ff358916f1e0d0aed2cc26f9ea98.tar.gz |
imap: reconnect with exponential backoff
waits an increasing amount of time before attempting a reconnect.
Wait is capped at 16s. Prevents many reconnect attemps in a short time period.
Fixes commit 05ad96a30cb8 ("imap: improve reconnect stability") that
improved the reliability of the reconnect mechanism but did not
implement controls to prevent the triggering of too many reconnects
within a short period of time.
Fixes: 05ad96a30cb8 ("imap: improve reconnect stability")
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Diffstat (limited to 'commands/msg/unsubscribe.go')
0 files changed, 0 insertions, 0 deletions