Using replace instead of keep strategy for the worker
This commit is contained in:
parent
cfdc18d421
commit
8864a3cf2c
|
@ -92,7 +92,7 @@ internal class LiveLocationAggregationProcessor @Inject constructor(
|
||||||
|
|
||||||
workManagerProvider.workManager.enqueueUniqueWork(
|
workManagerProvider.workManager.enqueueUniqueWork(
|
||||||
workName,
|
workName,
|
||||||
ExistingWorkPolicy.KEEP,
|
ExistingWorkPolicy.REPLACE,
|
||||||
workRequest
|
workRequest
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue