socketTimeout uses double the value? #1311
Unanswered
kncesarini
asked this question in
Q&A
Replies: 1 comment
-
Hi! I recall I saw similar behaviour with MySQL Connector driver. Could you run a similar test without AWS Wrapper driver (i.e. by directly using PG driver)? It would help to narrow down the issue. Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure if i should file this as an issue or i'm just misunderstanding something, so figured I'd start here. The problem I'm having is that whatever value I specify for socketTimeout (below 15000), the timeout will instead be after twice that time, in this example 30 seconds.
If i set socketTimeout to 60 seconds, it will time out after 120 seconds, and so on. The query i'm performing so test is just a
SELECT pg_sleep(:seconds)
, but i see the same behavior with regular queries in our real environments.This profile is used when running the application in AWS/EKS
Beta Was this translation helpful? Give feedback.
All reactions