Slightly reduce background poll interval

This commit is contained in:
nielsandriesse 2020-09-01 17:02:08 +10:00
parent ae956b732a
commit d26712bdb4

View File

@ -15,7 +15,7 @@ import java.util.concurrent.TimeUnit
class BackgroundPollWorker : PersistentAlarmManagerListener() { class BackgroundPollWorker : PersistentAlarmManagerListener() {
companion object { companion object {
private val pollInterval = TimeUnit.MINUTES.toMillis(20) private val pollInterval = TimeUnit.MINUTES.toMillis(15)
@JvmStatic @JvmStatic
fun schedule(context: Context) { fun schedule(context: Context) {