aboutsummaryrefslogtreecommitdiff
path: root/ayatanawebmail/idler.py
Commit message (Collapse)AuthorAgeFilesLines
* Do not use implicit debuggingRobert Tari2022-07-091-3/+10
|
* Do not fail in the idler stop method on connection dropsIngo Meyer2022-04-041-2/+5
| | | | | | | On connection drops or standby events, sending a `noop` command is not possible, and leads to a failing `stop` method in the `Idler` class. This commit adds a try/except block to ignore that error case, since it is not relevant for the `stop` method.
* Fix blocked idler on calling the `stop` methodIngo Meyer2022-03-011-0/+3
| | | | | | | | | | Calling the idler `stop` method sends a signal to the internally used thread to finish its work. However, this thread is already blocked by the IMAP IDLE mode and only released after reaching the IDLE timeout. Thus, this commit sends another IMAP command (a simple NOOP) to abort the IDLE mode so the thread can be released without any delay. This commit fixes GitHub issue #26.
* Initial port from Unity MailRobert Tari2020-08-171-0/+79