mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
CORDA-3034. Reconnecting Rpc will now not wait only for 60 min after normal operation (#5262)
This commit is contained in:
parent
ffe328c604
commit
ebe3169826
@ -395,7 +395,7 @@ class ObserverHandle {
|
||||
/**
|
||||
* Returns null if the observation ended successfully.
|
||||
*/
|
||||
internal fun await(duration: Duration = 60.minutes): Throwable? = terminated.poll(duration.seconds, TimeUnit.SECONDS).orElse(null)
|
||||
internal fun await(): Throwable? = terminated.take().orElse(null)
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user