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

Timed out error after being idle for a long time #577

Closed
xiusin opened this issue May 10, 2023 · 4 comments
Closed

Timed out error after being idle for a long time #577

xiusin opened this issue May 10, 2023 · 4 comments
Assignees
Labels
bug 🪲 Something isn't working

Comments

@xiusin
Copy link

xiusin commented May 10, 2023

image
@Fabio286
Copy link
Member

Hi @xiusin,

Can you tell me on what operating system and with what database it happens?

@xiusin
Copy link
Author

xiusin commented May 11, 2023

@Fabio286 It should be that the idle objects in the database object pool have not been released. This is not specific to any operating system, and can occur on both macOS and Windows. If there is no activity for a long time, request timeouts may occur and the only solution is to disconnect the connection.

@Fabio286 Fabio286 added the bug 🪲 Something isn't working label May 11, 2023
@Fabio286 Fabio286 added this to TO FIX May 11, 2023
@github-project-automation github-project-automation bot moved this to Needs triage in TO FIX May 11, 2023
@Fabio286 Fabio286 moved this from Needs triage to Low priority in TO FIX May 11, 2023
@Fabio286
Copy link
Member

The database libraries used in Antares implement different ways to handle connections. Therefore, it would be helpful for me to understand which database you encountered these errors with.

I am considering implementing a keepalive and retry system to have better control over these kinds of situations.

@xiusin
Copy link
Author

xiusin commented May 11, 2023

The database libraries used in Antares implement different ways to handle connections. Therefore, it would be helpful for me to understand which database you encountered these errors with.\n\nI am considering implementing a keepalive and retry system to have better control over these kinds of situations

pgsql, mysql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
No open projects
Status: Closed
Development

No branches or pull requests

2 participants