Commit d29e9006 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Set a high enough max count for retrying connection

parent 9aa8f4b9
...@@ -164,7 +164,7 @@ import rx.subjects.PublishSubject; ...@@ -164,7 +164,7 @@ import rx.subjects.PublishSubject;
return connectToServer(hostname) return connectToServer(hostname)
//.doOnError(RCLog::e) //.doOnError(RCLog::e)
.retryWhen(RxHelper.exponentialBackoff(3, 500, TimeUnit.MILLISECONDS)); .retryWhen(RxHelper.exponentialBackoff(Integer.MAX_VALUE, 500, TimeUnit.MILLISECONDS));
}); });
} }
......
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