mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
Lower background polling interval
This commit is contained in:
parent
b3759d788f
commit
6144d6cad2
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue