-
-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
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
RejectedExecutionException in SequentialRestRateLimiter #2696
Comments
Given that the Unfortunately the full logs are lost to time, and I would like to avoid deploying a build that I know to be broken. |
Is this issue happening consistently for you? |
It was consistently happening upon restarting the JVM after it first occurred. However, I deployed today without the problem occurring, meaning that the issue simply went away without explanation. You are free to close this issue if you wish. No one else seems to have experienced this issue. |
I don't consider the issue fixed, so I'll keep it open hoping to get more information to track down the underlying problem. |
Found the problem, looks like the threading config incorrectly applied the automatic shutdown flag. I'll publish a hotfix release later today. |
Hopefully this is fixed in 5.0.1. |
General Troubleshooting
Version of JDA
5.0.0-beta.24
Expected Behaviour
I expected
SequentialRestRateLimiter
to process requests.Instead, it seems that any
RestActions
that are queued produce this exception. In production, we use Docker containers that contain a JVM using JDA. We have successfully released beta 24 on FredBoat, however we are encountering this exception on just one of our smaller servers/bots using the same container.Code Example for Reproduction Steps
Code for JDABuilder or DefaultShardManagerBuilder used
Exception or Error
The text was updated successfully, but these errors were encountered: