Skip to content

Commit

Permalink
Merge pull request #108 from reservoirprotocol/feat/disable-seaport-o…
Browse files Browse the repository at this point in the history
…ffers

feat: added 503 check
  • Loading branch information
nofir authored Aug 17, 2023
2 parents 385cac2 + 00550cc commit 5dbf5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs/seaport-sync/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const fetchOrders = async (
`Seaport - Error. side=${side}, cursor=${cursor}, url=${url}, apiKey=${details?.apiKey}, realtimeOpenseaApiKey=${config.realtimeOpenseaApiKey}, error=${error}`
);

if (error.response?.status === 429) {
if (error.response?.status === 429 || error.response?.status === 503) {
logger.warn(
"fetch_orders_seaport",
`Seaport - Rate Limited. side=${side}, cursor=${cursor}, error=${error}`
Expand Down

0 comments on commit 5dbf5d4

Please sign in to comment.