We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default timeout for rate mlimiter requets is 20 :
RootPythia/src/api/rate_limiter.py
Line 9 in 7299044
Line 63 in 7299044
RootPythia/src/bot/root_pythia_bot.py
Line 82 in 7299044
this timeout is to big and triggers dirscord.gateway timeout:
2023-12-05 03:43:59 WARNING discord.gateway Shard ID None heartbeat blocked for more than 10 seconds. Loop thread traceback (most recent call last): File "/opt/root-pythia/src/main.py", line 75, in <module> main() [big tracback] 2023-12-05 03:44:09 WARNING discord.gateway Shard ID None heartbeat blocked for more than 20 seconds. Loop thread traceback (most recent call last): File "/opt/root-pythia/src/main.py", line 75, in <module> main() [big tracback] 2023-12-05 03:44:10 ERROR api.rate_limiter Request GET: https://api.www.root-me.org//auteurs/<CENSORED> + {'api_key': '<CENSORED>'} Timeout 2023-12-05 03:44:10 INFO discord.gateway Shard ID None has successfully RESUMED session <CENSORED>.
Which is useless
Reducing the timeout below 10 will save numeroux useless false positive errors and logs
The text was updated successfully, but these errors were encountered:
ctmbl
Successfully merging a pull request may close this issue.
default timeout for rate mlimiter requets is 20 :
RootPythia/src/api/rate_limiter.py
Line 9 in 7299044
RootPythia/src/api/rate_limiter.py
Line 63 in 7299044
and no custom timeout is used when instancing the rate limiter:
RootPythia/src/bot/root_pythia_bot.py
Line 82 in 7299044
this timeout is to big and triggers dirscord.gateway timeout:
Which is useless
Reducing the timeout below 10 will save numeroux useless false positive errors and logs
The text was updated successfully, but these errors were encountered: