mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 01:45:52 +03:00
Rename const for clarity
This commit is contained in:
parent
78c3bff81f
commit
b6218d086d
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ import java.util.concurrent.TimeUnit
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
private const val DEFAULT_LONG_POOL_TIMEOUT_SECONDS = 6L
|
private const val DEFAULT_LONG_POOL_TIMEOUT_SECONDS = 6L
|
||||||
private const val DEFAULT_DELAY_TIMEOUT_MILLIS = 30_000L
|
private const val DEFAULT_DELAY_MILLIS = 30_000L
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Possible previous worker: None
|
* Possible previous worker: None
|
||||||
|
@ -52,7 +52,7 @@ internal class SyncWorker(context: Context,
|
||||||
// In seconds
|
// In seconds
|
||||||
val timeout: Long = DEFAULT_LONG_POOL_TIMEOUT_SECONDS,
|
val timeout: Long = DEFAULT_LONG_POOL_TIMEOUT_SECONDS,
|
||||||
// In milliseconds
|
// In milliseconds
|
||||||
val delay: Long = DEFAULT_DELAY_TIMEOUT_MILLIS,
|
val delay: Long = DEFAULT_DELAY_MILLIS,
|
||||||
val periodic: Boolean = false,
|
val periodic: Boolean = false,
|
||||||
val forceImmediate: Boolean = false,
|
val forceImmediate: Boolean = false,
|
||||||
override val lastFailureMessage: String? = null
|
override val lastFailureMessage: String? = null
|
||||||
|
|
Loading…
Reference in a new issue