mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-16 11:16:12 -04:00
Increase worker scheduling flex interval for WearOS.
This commit is contained in:
@@ -43,8 +43,8 @@ open class App : Application(), Configuration.Provider {
|
|||||||
private fun setupWorker() {
|
private fun setupWorker() {
|
||||||
log(TAG) { "setupWorker()" }
|
log(TAG) { "setupWorker()" }
|
||||||
val workRequest = PeriodicWorkRequestBuilder<MonitorWorker>(
|
val workRequest = PeriodicWorkRequestBuilder<MonitorWorker>(
|
||||||
Duration.ofMinutes(25),
|
Duration.ofMinutes(30),
|
||||||
Duration.ofMinutes(5)
|
Duration.ofMinutes(30)
|
||||||
).apply {
|
).apply {
|
||||||
setInputData(Data.Builder().build())
|
setInputData(Data.Builder().build())
|
||||||
}.build()
|
}.build()
|
||||||
|
|||||||
Reference in New Issue
Block a user