fix: mitigate database lock scenario when running full sync in splash screen page (#22608)

This commit is contained in:
Alex 2025-10-03 08:27:28 -05:00 committed by GitHub
parent 60b1faac0f
commit 3c5a125762
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,7 +64,7 @@ class SplashScreenPageState extends ConsumerState<SplashScreenPage> {
if (Store.isBetaTimelineEnabled) {
bool syncSuccess = false;
await Future.wait([
backgroundManager.syncLocal(full: true),
backgroundManager.syncLocal(),
backgroundManager.syncRemote().then((success) => syncSuccess = success),
]);