mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
1 one minute boot delay is probably sufficient
This commit is contained in:
parent
4d6ca25caf
commit
afedd47258
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,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(2, TimeUnit.MINUTES)
|
||||
.setInitialDelay(1, TimeUnit.MINUTES)
|
||||
.setBackoffCriteria(BackoffPolicy.EXPONENTIAL, 1, TimeUnit.MINUTES)
|
||||
.addTag("startLater")
|
||||
.build()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue