mirror of
https://github.com/corda/corda.git
synced 2025-01-18 10:46:38 +00:00
parent
8215d41eb8
commit
25ab7667a5
@ -153,6 +153,11 @@ class NetworkMapUpdater(private val networkMapCache: NetworkMapCacheInternal,
|
|||||||
val nextScheduleDelay = try {
|
val nextScheduleDelay = try {
|
||||||
updateNetworkMapCache()
|
updateNetworkMapCache()
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
|
// Check to see if networkmap was reachable before and cached information exists
|
||||||
|
if (networkMapCache.allNodeHashes.size > 1) {
|
||||||
|
logger.debug("Networkmap Service unreachable but more than one nodeInfo entries found in the cache. Allowing node start-up to proceed.")
|
||||||
|
networkMapCache.nodeReady.set(null)
|
||||||
|
}
|
||||||
logger.warn("Error encountered while updating network map, will retry in $defaultRetryInterval", e)
|
logger.warn("Error encountered while updating network map, will retry in $defaultRetryInterval", e)
|
||||||
defaultRetryInterval
|
defaultRetryInterval
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user