mirror of
https://github.com/corda/corda.git
synced 2025-03-15 16:46:12 +00:00
ENT-2489: Improve logging for MultiThreadedStateMachineManager. (#1389)
This commit is contained in:
parent
4602a21a35
commit
271146dd4d
@ -147,6 +147,7 @@ class MultiThreadedStateMachineManager(
|
||||
(fiber as FlowStateMachineImpl<*>).logger.warn("Caught exception from flow", throwable)
|
||||
}
|
||||
serviceHub.networkMapCache.nodeReady.then {
|
||||
logger.info("Node ready, info: ${serviceHub.myInfo}")
|
||||
resumeRestoredFlows(fibers)
|
||||
flowMessaging.start { _, deduplicationHandler ->
|
||||
lifeCycle.requireState(State.STARTED, StateMachineStoppedException("Flow cannot be started. State machine is stopped.")) {
|
||||
@ -154,6 +155,7 @@ class MultiThreadedStateMachineManager(
|
||||
}
|
||||
}
|
||||
}
|
||||
logger.info("Setting status to STARTED for node info: ${serviceHub.myInfo}")
|
||||
lifeCycle.transition(State.UNSTARTED, State.STARTED)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user