scheduler: rate limit IMAP loops

Avoid hitting the server with repeated requests or reconnections if some operation, such as FETCH, keeps failing.
This commit is contained in:
link2xt
2021-09-12 00:00:00 +00:00
parent 46956caf75
commit a55d7f1d3a
3 changed files with 80 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ email = { git = "https://github.com/deltachat/rust-email", branch = "master" }
encoded-words = { git = "https://github.com/async-email/encoded-words", branch="master" }
escaper = "0.1.1"
futures = "0.3.17"
governor = "0.3.2"
hex = "0.4.0"
image = { version = "0.23.5", default-features=false, features = ["gif", "jpeg", "ico", "png", "pnm", "webp", "bmp"] }
indexmap = "1.7.0"