Reduce background poll interval

This commit is contained in:
nielsandriesse 2020-09-16 14:39:21 +10:00
parent 34a35e2d77
commit c24ce7ac4b

View File

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