Pool Connection problem when max reached #222
Closed
MarcusGros
started this conversation in
General
Replies: 1 comment 1 reply
-
When you create the pool you can use a "get" mode of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I use the PoolManager and have reached the maximum available connections. Then the whole Python program stops because it waits for an available connection. The autmatism for searching out does not intervene here and the program is forever in wait mode.
I have now solved this by means of a retry that should only fetch new connections and when the maximum is reached only new connections are made.
My current solution to the problem:
Here I would wish myself two solutions. 1. the possibility that in the pool automatically at Max always new are created. 2. a pool that can grow automatically with. No maximum connection. Here it needs a good management when a connection is considered done.
Beta Was this translation helpful? Give feedback.
All reactions