From 634964d99d46c20c88f82fbcef7801d34df7fb2a Mon Sep 17 00:00:00 2001 From: Guilherme Souza Date: Wed, 11 Sep 2024 13:25:49 +0200 Subject: [PATCH] Increase sleep to BGG api calls --- src/board_game_geek.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/board_game_geek.ts b/src/board_game_geek.ts index 82bcd28..34855b7 100644 --- a/src/board_game_geek.ts +++ b/src/board_game_geek.ts @@ -4,7 +4,7 @@ import { sleep } from '@/helpers' const BASE_URL = 'https://www.boardgamegeek.com/xmlapi2' const REQUEST_TIMEOUT = 10e3 const EXPORT_COLLECTION_QUEUE_TIMEOUT = 120e3 -const EXPORT_COLLECTION_QUEUE_SLEEP = 4e3 +const EXPORT_COLLECTION_QUEUE_SLEEP = 6e3 const GET_GAMES_BATCH_SIZE = 10 const GET_GAMES_BATCH_SLEEP = 2e3