mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 19:06:35 +03:00
Apply suggestions from code review
Co-authored-by: bjoern <r10s@b44t.com>
This commit is contained in:
@@ -236,7 +236,7 @@ impl CommandApi {
|
||||
/// The `AccountsBackgroundFetchDone` event is emitted at the end,
|
||||
/// process all events until you get this one and you can safely return to the background
|
||||
/// without forgeting to create notifications caused by timing race conditions.
|
||||
async fn background_fetch_for_all_accounts(&self, timeout_in_seconds: f64) -> Result<()> {
|
||||
async fn accounts_background_fetch(&self, timeout_in_seconds: f64) -> Result<()> {
|
||||
self.accounts
|
||||
.write()
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user