From a1a15086d9c064759e46f9e9d8db01e9c3bb9ad9 Mon Sep 17 00:00:00 2001 From: ctmbl Date: Mon, 28 Oct 2024 15:14:14 +0100 Subject: [PATCH] FIX: Reduce RL requests Timeout to avoid triggering discord.py timeout --- src/api/rate_limiter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/rate_limiter.py b/src/api/rate_limiter.py index 68a2ce2..2d3e32a 100644 --- a/src/api/rate_limiter.py +++ b/src/api/rate_limiter.py @@ -6,7 +6,7 @@ import requests DEFAULT_MAX_ATTEMPT = 3 -DEFAULT_REQUEST_TIMEOUT = 20 +DEFAULT_REQUEST_TIMEOUT = 5 DEFAULT_TIMEOUT_DELAY = 10 * 60 DEFAULT_IDLE_STATE_SLEEP = 10