Skip to content

Commit

Permalink
CORE-16879 - replace max retry attempts with max retry window duration
Browse files Browse the repository at this point in the history
  • Loading branch information
conalsmith-r3 committed Sep 5, 2023
1 parent 9ea9852 commit f21e230
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ private FlowConfig() {
public static final String SESSION_TIMEOUT_WINDOW = "session.timeout";
public static final String SESSION_P2P_TTL = "session.p2pTTL";
public static final String SESSION_FLOW_CLEANUP_TIME = "session.cleanupTime";
public static final String PROCESSING_MAX_RETRY_ATTEMPTS = "processing.maxRetryAttempts";
public static final String PROCESSING_MAX_RETRY_WINDOW_DURATION = "processing.maxRetryWindowDuration";
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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"type": "object",
"default": {},
"properties": {
"maxRetryAttempts": {
"description": "The maximum number of times Corda retries a transient error before failing the flow. A value of zero disables retries.",
"maxRetryWindowDuration": {
"description": "The duration in milliseconds after a transient error that Corda retries a flow before failing it. A value of zero disables retries.",
"type": "integer",
"minimum": 0,
"maximum": 1000,
"default": 5
"maximum": 2147483647,
"default": 120000
},
"maxRetryDelay": {
"description": "The maximum delay in milliseconds before Corda schedules a retry.",
Expand Down

0 comments on commit f21e230

Please sign in to comment.