mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 17:27:45 +00:00
Reduce background poll interval
This commit is contained in:
parent
34a35e2d77
commit
c24ce7ac4b
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user