Skip to content

Commit

Permalink
Changed status of ConcurrentSnapshotException from 5xx -> 429(Too_Man…
Browse files Browse the repository at this point in the history
…y_Requests).

Signed-off-by: Mani <singh.mani1231@gmail.com>
  • Loading branch information
baba-devv committed Jan 12, 2023
1 parent 5989d01 commit 05874f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ public ConcurrentSnapshotExecutionException(StreamInput in) throws IOException {

@Override
public RestStatus status() {
return RestStatus.SERVICE_UNAVAILABLE;
return RestStatus.TOO_MANY_REQUESTS;
}
}

0 comments on commit 05874f3

Please sign in to comment.