diff --git a/node/src/main/kotlin/net/corda/node/services/network/NodeInfoWatcher.kt b/node/src/main/kotlin/net/corda/node/services/network/NodeInfoWatcher.kt index 2b97dfab50..c23e0f140c 100644 --- a/node/src/main/kotlin/net/corda/node/services/network/NodeInfoWatcher.kt +++ b/node/src/main/kotlin/net/corda/node/services/network/NodeInfoWatcher.kt @@ -93,7 +93,7 @@ class NodeInfoWatcher(private val nodePath: Path, * @return an [Observable] returning [NodeInfoUpdate]s, at most one [NodeInfo] is returned for each processed file. */ fun nodeInfoUpdates(): Observable { - return Observable.interval(pollInterval.toMillis(), TimeUnit.MILLISECONDS, scheduler) + return Observable.interval(0, pollInterval.toMillis(), TimeUnit.MILLISECONDS, scheduler) .flatMapIterable { loadFromDirectory() } }