Skip to content
Discussion options

You must be logged in to vote

@adiroiban, your traceback shows that the error took place while calling execute() -- and specifically during the handling of the socket.timeout exception. This is well after the connection has been acquired from the pool and any pings have taken place, if thus configured. So I'm not sure why you are thinking that the ping() performed during the acquire() from the pool is at fault? Unless you are complaining that the call timeout value is reset back to 0? Your "fix" of setting the value after the acquire() returns is fine -- no pings are going to take place after that unless you call them yourself! The internal ping only takes place before the connection is returned by the pool. Once the …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@anthony-tuininga
Comment options

Answer selected by adiroiban
@adiroiban
Comment options

@anthony-tuininga
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants