after boot wait even longer - 2 min, we are in no rush anyways

the phone should be quite less busy by then
pull/28/head
geeksville 2020-05-11 15:27:53 -07:00
rodzic 7529bbcfb6
commit b4da48beb5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -93,7 +93,7 @@ class MeshService : Service(), Logging {
fun startLater(context: Context) {
info("Received boot complete announcement, starting mesh service in one minute")
val delayRequest = OneTimeWorkRequestBuilder<ServiceStarter>()
.setInitialDelay(1, TimeUnit.MINUTES)
.setInitialDelay(2, TimeUnit.MINUTES)
.setBackoffCriteria(BackoffPolicy.EXPONENTIAL, 1, TimeUnit.MINUTES)
.addTag("startLater")
.build()