Skip to content

Commit

Permalink
Increase AddNode pingRetries to 10 to avoid failing too fast (#3621)
Browse files Browse the repository at this point in the history
Existing pingRetries and pingInterval in AddNode give a 20-30s window.
This windows is too short for a corfu server restart. Increase the
pingRetries from 3 to 10 to allow ~60s timeout window.
  • Loading branch information
Lujie1996 committed May 17, 2023
1 parent 655f5c5 commit 7e42caf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class AddNode extends WorkflowRequest {
/**
* Number of retries to ping a base server before selecting an orchestrator.
*/
private final int pingRetries = 3;
private final int pingRetries = 10;
/**
* Duration between the pings.
*/
Expand Down

0 comments on commit 7e42caf

Please sign in to comment.