Increase maximum wakelock duration

This commit is contained in:
TebbeUbben 2020-05-21 00:05:54 +02:00
parent c7df607d97
commit db1f9366aa

View file

@ -294,7 +294,7 @@ object OpenHumansUploader : PluginBase(
.map { queueTempTarget(it); showOngoingNotification(maxProgress, ++currentProgress) }
.ignoreElements()
.doOnSubscribe {
wakeLock.acquire(TimeUnit.MINUTES.toMillis(10))
wakeLock.acquire(TimeUnit.MINUTES.toMillis(20))
showOngoingNotification()
}
.doOnComplete {