feat: cache mailbox list for 10 minutes and show progress on initial fetch

- Add 10-minute cache after fetching mailbox list from mail accounts
- Display progress during initial mailbox retrieval
- Prevent timeouts when handling large mailbox lists
This commit is contained in:
rustmailer
2026-05-14 20:01:45 +08:00
parent 1682f21cf7
commit 6b6f11e4c1
10 changed files with 319 additions and 36 deletions
+1 -1
View File
@@ -310,7 +310,7 @@ impl MemDb {
}
}
eprintln!("[memdb] snapshot saved at seq={last_seq}");
//eprintln!("[memdb] snapshot saved at seq={last_seq}");
Ok(())
}