Skip to content

Commit

Permalink
CORE-20867 remove config for expiring retries. rely on idle flow time…
Browse files Browse the repository at this point in the history
…out logic
  • Loading branch information
LWogan committed Nov 11, 2024
1 parent 71b1044 commit 0bdd3de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ private FlowConfig() {

public static final String EXTERNAL_EVENT_MESSAGE_RESEND_WINDOW = "event.messageResendWindow";
public static final String EXTERNAL_EVENT_MAX_RETRIES = "event.maxRetries";
public static final String EXTERNAL_EVENT_TRANSIENT_ERROR_TIMEOUT = "event.transientErrorRetryTimeout";
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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,11 @@
"default": 60000
},
"maxRetries": {
"description": "The maximum number of times Corda retries a request before returning an exception for error cases other than transient errors.",
"description": "The maximum number of times Corda retries a request before returning an exception for error cases other than transient errors. Transient errors will be retied ",
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"default": 5
},
"transientErrorRetryTimeout": {
"description": "The length of time in milliseconds the flow engine will allow an inter-worker RPC call to return transient errors before marking the flow as failed.",
"type": "integer",
"minimum": 1000,
"maximum": 2147483647,
"default": 1200000
}
},
"additionalProperties": false
Expand Down

0 comments on commit 0bdd3de

Please sign in to comment.