From 6144d6cad2aa91d8ffd2ab209fc939e12eaa0e35 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Wed, 7 Aug 2019 14:57:24 +1000 Subject: [PATCH] Lower background polling interval --- src/org/thoughtcrime/securesms/loki/BackgroundPollWorker.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/loki/BackgroundPollWorker.kt b/src/org/thoughtcrime/securesms/loki/BackgroundPollWorker.kt index d0ceb91125..12a0ee7ec1 100644 --- a/src/org/thoughtcrime/securesms/loki/BackgroundPollWorker.kt +++ b/src/org/thoughtcrime/securesms/loki/BackgroundPollWorker.kt @@ -13,7 +13,7 @@ import java.util.concurrent.TimeUnit class BackgroundPollWorker : PersistentAlarmManagerListener() { companion object { - private val pollInterval = TimeUnit.MINUTES.toMillis(5) + private val pollInterval = TimeUnit.MINUTES.toMillis(2) @JvmStatic fun schedule(context: Context) {