-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make ImapQueue more robust against connection loss
This will reconnect on every polling cycle as this was easier to implement than only reconnecting on a lost connection. However, for my use case there is only a low volume of incoming messages, so that it makes sense to have a long polling interval in which case individual connections to poll might be even better than a persistent connection. Due to limitations in the aioimaplib [1], a timeout in one of the commands will leave a cancelled, but pending task around. This also, produces warnings in the tests that cannot be silenced. [1]: iroco-co/aioimaplib#58
- Loading branch information
Showing
5 changed files
with
81 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "dmarc-metrics-exporter" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
description = "Export Prometheus metrics from DMARC reports." | ||
authors = ["Jan Gosmann <[email protected]>"] | ||
license = "MIT" | ||
|