Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imap: increase connection-timeout to 90 seconds
In case when the server does not support IDLE command, then default value of the polling interval set in go-imap to 60 seconds is larger then the default value of connection-timeout set to 30 seconds. Therefore aerc disconnects while polling every 30 seconds, because there is no activity. This was tested on seznam.cz as well as a self hosted dovecot, where the IDLE command was removed from announced capabilities. Changelog-fixed: IMAP servers without IDLE support do not timeout while polling. Changelog-changed: The default IMAP connection timeout has been increased to 90 seconds. Signed-off-by: Jakub Růžička <[email protected]> Tested-by: Karel Balej <[email protected]> Acked-by: Robin Jarry <[email protected]>
- Loading branch information