From ed944ed3771ed8945db688c678f7c7d616704f39 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Thu, 17 Nov 2022 10:20:25 -0500 Subject: [PATCH] Limit number of threads to 2 --- s3s.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3s.py b/s3s.py index 90e7766..7bb1b73 100644 --- a/s3s.py +++ b/s3s.py @@ -49,7 +49,7 @@ BULLETTOKEN = CONFIG_DATA["bullettoken"] # for accessing splatnet - base64 SESSION_TOKEN = CONFIG_DATA["session_token"] # for nintendo login F_GEN_URL = CONFIG_DATA["f_gen"] # endpoint for generating f (imink API by default) -thread_pool = ThreadPoolExecutor(max_workers=10) +thread_pool = ThreadPoolExecutor(max_workers=2) # SET HTTP HEADERS DEFAULT_USER_AGENT = 'Mozilla/5.0 (Linux; Android 11; Pixel 5) ' \