From 38d27695b941f79d4848deaf85ee8e041868176f Mon Sep 17 00:00:00 2001 From: Thiago Viana <3837906+thiagoviana@users.noreply.github.com> Date: Thu, 5 Oct 2023 12:53:07 +0100 Subject: [PATCH] refactor (config) : reinstate properties for Flow Config --- .../configuration/flow/1.0/corda.flow.json | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/data/config-schema/src/main/resources/net/corda/schema/configuration/flow/1.0/corda.flow.json b/data/config-schema/src/main/resources/net/corda/schema/configuration/flow/1.0/corda.flow.json index 8c0cfbfcd3..3e5331403d 100644 --- a/data/config-schema/src/main/resources/net/corda/schema/configuration/flow/1.0/corda.flow.json +++ b/data/config-schema/src/main/resources/net/corda/schema/configuration/flow/1.0/corda.flow.json @@ -54,6 +54,27 @@ "type": "object", "default": {}, "properties": { + "messageResendWindow": { + "description": "The length of time in milliseconds that Corda waits before resending unacknowledged flow session messages.", + "type": "integer", + "minimum": 1000, + "maximum": 2147483647, + "default": 120000 + }, + "heartbeatTimeout": { + "description": "The length of time in milliseconds that Corda waits when no message has been received from a counterparty before causing the session to error. This should be set at least 2 times larger than session.messageResendWindow.", + "type": "integer", + "minimum": 1000, + "maximum": 2147483647, + "default": 1800000 + }, + "missingCounterpartyTimeout": { + "description": "The length of time in milliseconds to wait when the counterparty can't be found in a member lookup before causing the session to error", + "type": "integer", + "minimum": 1000, + "maximum": 2147483647, + "default": 300000 + }, "timeout": { "description": "The length of time in milliseconds that Corda waits when no message has been received from a counterparty before causing the session to error.", "type": "integer",