Skip to content

Commit

Permalink
Update timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Rishab Nahata <rnnahata@amazon.com>
  • Loading branch information
imRishN committed Dec 13, 2022
1 parent a159da6 commit 6ce6628
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public ClusterState execute(ClusterState currentState) {
newState = addVotingConfigExclusionsForNodesToBeDecommissioned(
newState,
nodeIdsToBeExcluded,
TimeValue.timeValueSeconds(60), // TODO - update it with request timeout
TimeValue.timeValueSeconds(120), // TODO - update it with request timeout
maxVotingConfigExclusions
);
logger.debug(
Expand Down Expand Up @@ -201,7 +201,7 @@ public void clusterStateProcessed(String source, ClusterState oldState, ClusterS

final ClusterStateObserver observer = new ClusterStateObserver(
clusterService,
TimeValue.timeValueSeconds(60), // TODO - update it with request timeout
TimeValue.timeValueSeconds(120), // TODO - update it with request timeout
logger,
threadPool.getThreadContext()
);
Expand Down

0 comments on commit 6ce6628

Please sign in to comment.