remove artificial delay for testing
This commit is contained in:
parent
14deca471a
commit
25164eab01
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class OHUploadWorker(context: Context, workerParameters: WorkerParameters)
|
|||
val isConnectedToWifi = wifiManager?.isWifiEnabled ?: false && wifiManager?.connectionInfo?.networkId != -1
|
||||
if (!wifiOnly || (wifiOnly && isConnectedToWifi)) {
|
||||
setForegroundAsync(createForegroundInfo())
|
||||
openHumansUploader.uploadData().delay(12, TimeUnit.MINUTES)
|
||||
openHumansUploader.uploadData()
|
||||
.andThen(Single.just(Result.success()))
|
||||
.onErrorResumeNext { Single.just(Result.retry()) }
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue