Merge pull request #69 from tikurahul/main

Use `ExistingWorkPolicy.KEEP`.
pull/70/head
Rahul Ravikumar 3 years ago committed by GitHub
commit b6858d24f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,7 +46,7 @@ class SyncInitializer : Initializer<Sync> {
// Run sync on app startup and ensure only one sync worker runs at any time // Run sync on app startup and ensure only one sync worker runs at any time
enqueueUniqueWork( enqueueUniqueWork(
SyncWorkName, SyncWorkName,
ExistingWorkPolicy.REPLACE, ExistingWorkPolicy.KEEP,
SyncWorker.startUpSyncWork() SyncWorker.startUpSyncWork()
) )
} }

Loading…
Cancel
Save