mirror of
https://github.com/corda/corda.git
synced 2024-12-20 21:43:14 +00:00
CORDA-3393: Lazy load MessageDeduplicationHandler.flowId
(#5679)
CORDA-3393: Lazy load `MessageDeduplicationHandler.flowId` (#5679)
This commit is contained in:
commit
86f1f9e371
@ -425,7 +425,7 @@ class P2PMessagingClient(val config: NodeConfiguration,
|
||||
private inner class MessageDeduplicationHandler(val artemisMessage: ClientMessage, override val receivedMessage: ReceivedMessage) : DeduplicationHandler, ExternalEvent.ExternalMessageEvent {
|
||||
override val externalCause: ExternalEvent
|
||||
get() = this
|
||||
override val flowId: StateMachineRunId = StateMachineRunId.createRandom()
|
||||
override val flowId: StateMachineRunId by lazy { StateMachineRunId.createRandom() }
|
||||
override val deduplicationHandler: MessageDeduplicationHandler
|
||||
get() = this
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user