Apply suggestions from code review

Co-authored-by: bjoern <r10s@b44t.com>
This commit is contained in:
Simon Laux
2024-01-14 21:19:21 +01:00
committed by bjoern
parent 2f29c56a36
commit 5bb80f94c7
3 changed files with 3 additions and 3 deletions

View File

@@ -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