Lower background polling interval

This commit is contained in:
Niels Andriesse 2019-08-07 14:57:24 +10:00
parent b3759d788f
commit 6144d6cad2

View File

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