Skip to content

Commit

Permalink
chore: new retryable ratelimit error (#6751)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jan 9, 2024
1 parent 4adcae5 commit 05d6062
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/common/src/provider/retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ fn should_retry_json_rpc_error(error: &ErrorPayload) -> bool {
"daily request count exceeded, request rate limited" => true,
msg => {
msg.contains("rate limit") ||
msg.contains("rate exceeded") ||
msg.contains("too many requests") ||
msg.contains("request limit")
}
Expand Down

0 comments on commit 05d6062

Please sign in to comment.