mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
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:
@ -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() }
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user