Feat: Add IMAP connection pool status logging and disable bb8 idle timeout

This commit is contained in:
rustmailer
2025-12-08 03:41:56 +08:00
parent 57df3466e7
commit 20970b4fb6
5 changed files with 51 additions and 29 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ impl EmailClientExecutors {
}
let pool = build_imap_pool(account_id).await?;
let new_executor = Arc::new(ImapExecutor::new(pool));
let new_executor = Arc::new(ImapExecutor::new(account_id, pool));
match self.imap.try_entry(account_id) {
Some(dashmap::mapref::entry::Entry::Occupied(entry)) => Ok(entry.get().clone()),