mirror of
https://github.com/lone-cloud/prism-android
synced 2026-06-03 11:03:10 -07:00
Fix delay log
This commit is contained in:
parent
718da6d71b
commit
117c3f1041
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ class ServerConnection(private val context: Context, private val releaseLock: ()
|
|||
if (FailureCounter.addFail(context, webSocket)) {
|
||||
// If null, we keep the worker with its 16min
|
||||
val delay = FailureCounter.getTimeout() ?: return
|
||||
Log.d(TAG, "Retrying in $delay s")
|
||||
Log.d(TAG, "Retrying in $delay ms")
|
||||
RestartWorker.run(context, delay = delay)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue