Tag rename
This commit is contained in:
parent
6ea633f3e1
commit
faab8449bb
1 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ class JsonConnection(
|
|||
retryMillis = nextRetryMillis(retryMillis, startTime)
|
||||
val nextRetryTime = System.currentTimeMillis() + retryMillis
|
||||
connectionDetailsListener(subscriptionIds, ConnectionState.CONNECTING, lastError, nextRetryTime)
|
||||
Log.d(TAG, "[$url] Connection failed, retrying connection in ${retryMillis / 1000}s ...")
|
||||
Log.w(TAG, "[$url] Connection failed, retrying connection in ${retryMillis / 1000}s ...")
|
||||
delay(retryMillis)
|
||||
}
|
||||
}
|
||||
|
|
@ -101,7 +101,7 @@ class JsonConnection(
|
|||
}
|
||||
|
||||
companion object {
|
||||
private const val TAG = "NtfySubscriberConn"
|
||||
private const val TAG = "NtfyJsonConnection"
|
||||
private const val CONNECTION_LOOP_DELAY_MILLIS = 30_000L
|
||||
private const val RETRY_STEP_MILLIS = 5_000L
|
||||
private const val RETRY_MAX_MILLIS = 60_000L
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue