Skip to content

Commit

Permalink
improvement: binance real-time retry after 403 error
Browse files Browse the repository at this point in the history
  • Loading branch information
thaaddeus committed May 29, 2023
1 parent 55365c1 commit 53edbb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/realtimefeeds/binance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const binanceHttpOptions = {
timeout: 10 * 1000,
retry: {
limit: 10,
statusCodes: [418, 429, 500],
statusCodes: [418, 429, 500, 403],
maxRetryAfter: 120 * 1000
}
}
Expand Down

0 comments on commit 53edbb6

Please sign in to comment.