CORDA-2991 shorten poll intervals for node info file propagation (#5240)

* CORDA-2991 shorten poll intervals for node info file propagation

* Relax minimum poll time constraint

* Relax, not comment out, minimum poll time constraint

* Correct error message
This commit is contained in:
Dominic Fox
2019-07-03 15:00:55 +01:00
committed by Rick Parker
parent 6df142bf7a
commit 14a20654bd
3 changed files with 3 additions and 2 deletions

View File

@ -37,7 +37,7 @@ class NodeInfoFilesCopier(scheduler: Scheduler = Schedulers.io()) : AutoCloseabl
private val subscription: Subscription
init {
this.subscription = Observable.interval(5, TimeUnit.SECONDS, scheduler)
this.subscription = Observable.interval(1, TimeUnit.SECONDS, scheduler)
.subscribe { poll() }
}