Skip to content

Commit

Permalink
chore: new retryable ratelimit error
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Jan 9, 2024
1 parent 4adcae5 commit bf1aa7b
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 bf1aa7b

Please sign in to comment.