diff --git a/data/config-schema/src/main/java/net/corda/schema/configuration/FlowConfig.java b/data/config-schema/src/main/java/net/corda/schema/configuration/FlowConfig.java index 67e75825d6..8a68a0fc4a 100644 --- a/data/config-schema/src/main/java/net/corda/schema/configuration/FlowConfig.java +++ b/data/config-schema/src/main/java/net/corda/schema/configuration/FlowConfig.java @@ -14,4 +14,5 @@ private FlowConfig() { public static final String PROCESSING_MAX_RETRY_DELAY = "processing.maxRetryDelay"; public static final String PROCESSING_MAX_FLOW_SLEEP_DURATION = "processing.maxFlowSleepDuration"; public static final String PROCESSING_FLOW_CLEANUP_TIME = "processing.cleanupTime"; + public static final String PROCESSING_THREAD_POOL_SIZE = "processing.poolSize"; } 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 3e5331403d..baa488793f 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 @@ -45,6 +45,13 @@ "minimum": 1000, "maximum": 2147483647, "default": 600000 + }, + "poolSize": { + "description": "The size of the flow event processing pool size.", + "type": "integer", + "minimum": 1, + "maximum": 2147483647, + "default": 8 } }, "additionalProperties": false @@ -82,7 +89,7 @@ "maximum": 2147483647, "default": 1800000 }, - "p2pTTL": { + "p2pTTL": { "description": "The TTL set in milliseconds. This is added to the current time and set on messages passed to the P2P layer to send to a counterparty. Messages received with a TTL timestamp set in the past will be discarded.", "type": "integer", "minimum": 10000,