-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Cannot set connection to nonblocking mode #13
Comments
Looks like you're using |
Please upgrade to |
I'm really sorry for not posting back, |
I see a same error on v1.3.3. I set a pool 10 connection and receive error after 1-2 minutes:
When I used pool 5, I did not observe such a problem. |
Stumbled upon this problem when trying out this library.
The connection is established, fully functional, query gets executed with no problem, after some time it seems I lose the connection:
as you may see @ 12:09:38 this runs with no problem, the query gets executed, result returned, after being idle, at 14:40:47 (actually this happened to me with ±5minutes in idle as well) there's this error happening.
Should I be "pinging" the database every minute or so to keep the connection alive, or should I reestablish it after some time?
Here's the code (but it actually is a bunch of amp examples clumped together)
The text was updated successfully, but these errors were encountered: