mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: mitigate database lock scenario when running full sync in splash screen page (#22608)
This commit is contained in:
parent
60b1faac0f
commit
3c5a125762
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class SplashScreenPageState extends ConsumerState<SplashScreenPage> {
|
||||||
if (Store.isBetaTimelineEnabled) {
|
if (Store.isBetaTimelineEnabled) {
|
||||||
bool syncSuccess = false;
|
bool syncSuccess = false;
|
||||||
await Future.wait([
|
await Future.wait([
|
||||||
backgroundManager.syncLocal(full: true),
|
backgroundManager.syncLocal(),
|
||||||
backgroundManager.syncRemote().then((success) => syncSuccess = success),
|
backgroundManager.syncRemote().then((success) => syncSuccess = success),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue