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

the phone should be quite less busy by then
This commit is contained in:
geeksville 2020-05-11 15:27:53 -07:00
parent 7529bbcfb6
commit b4da48beb5

View file

@ -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()