Further reduce background polling interval

This commit is contained in:
nielsandriesse 2020-09-10 08:19:15 +10:00
parent 4dd89ba03f
commit 3507b0f472

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(15) private val pollInterval = TimeUnit.MINUTES.toMillis(30)
@JvmStatic @JvmStatic
fun schedule(context: Context) { fun schedule(context: Context) {