Commit 680161fe authored by David's avatar David

Revert "Add a delay on a retry for weather stuff, so it doesn't hammer"

This reverts commit 22a24091.
parent 79bb5f6d
......@@ -151,9 +151,7 @@ class WeatherController : Controller() {
//TODO: emit to the ticker the error to display it on the screen
logger.error("Failed to acquire station identifier!", throwable)
}
.retryWhen {
Observable.timer(1, TimeUnit.SECONDS)
}
.retry()
.subscribe()
//Acquire the hourly forecast url too
......@@ -178,9 +176,7 @@ class WeatherController : Controller() {
//TODO: emit to the ticker the error to display it on the screen
logger.error("Failed to acquire hourly forecast url", throwable)
}
.retryWhen {
Observable.timer(1, TimeUnit.SECONDS)
}
.retry() //TODO: should have some kind of backoff or whatever yeah need that
.subscribe()
//EMIT!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment