Skip to content

Commit

Permalink
opensearch-project#4687 - change rest status to 429
Browse files Browse the repository at this point in the history
Signed-off-by: p1729 <[email protected]>
  • Loading branch information
p1729 committed Oct 7, 2022
1 parent f5ea1a4 commit 9aa794f
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 9aa794f

Please sign in to comment.