Skip to content

Pool creation timeout #84

Closed Answered by anthony-tuininga
PaulWasTaken asked this question in Q&A
Discussion options

You must be logged in to vote

First, there are some differences between thick mode and thin mode in how pools are initialized. In thin mode, the connections are established in a background thread and failure to create these connections will be reported when the first call to pool.acquire() is made. Thick mode, however, currently establishes min connections and if any of those fails, the call to oracledb.create_pool() itself will fail. This may change at some point to use a background thread similarly to thin mode.

The value of the parameter TRANSPORT_CONNECT_TIMEOUT indicates how long to wait for the initial socket connection to be established with the listener. I'm not sure what log messages you were expecting. Can y…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by PaulWasTaken
Comment options

You must be logged in to vote
0 replies
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