Limit number of threads to 2

This commit is contained in:
Alex Xu
2022-11-17 10:20:25 -05:00
committed by GitHub
parent 30b89e93e3
commit ed944ed377

2
s3s.py
View File

@@ -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) ' \