Skip to content
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

API crashing #28

Open
ahmadbky opened this issue Oct 26, 2024 · 0 comments
Open

API crashing #28

ahmadbky opened this issue Oct 26, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ahmadbky
Copy link
Member

This issue is related to the API sometimes crashing recently.

The API doesn't actually crash itself, it just can't retrieve a pool connection (here for example) to the MariaDB database because the pool fills up completely quite quickly. This bug affects the version 0.4.6, but not 0.3.1 nor the versions before.

I can't tell the reason the pool is often full. Before, I thought it was because of the competition ranking issue (#27), because the behavior before was to panic, and for some reasons I thought that the panic could prevent the database connection object to get back to the pool. However, even after removing this panic, the pool was still filling up quickly.

@ahmadbky ahmadbky added bug Something isn't working help wanted Extra attention is needed labels Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant