Hide background_fetch_without_timeout from public API

This commit is contained in:
link2xt
2024-01-29 23:29:57 +00:00
committed by bjoern
parent 5bb80f94c7
commit ea666f1098
3 changed files with 7 additions and 14 deletions

View File

@@ -4916,7 +4916,7 @@ pub unsafe extern "C" fn dc_accounts_background_fetch(
block_on(async move {
let accounts = accounts.read().await;
match accounts
.background_fetch_with_timeout(Duration::from_secs(timeout_in_seconds))
.background_fetch(Duration::from_secs(timeout_in_seconds))
.await
{
Ok(()) => 1,