You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context:
I am using the python-keycloak library in a FastAPI-based user management application. Some of the functionalities in my application require parallel processing. During execution, I encountered the following warning:
WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: auth.************.com. Connection pool size: 10
After some investigation, I determined that the KeycloakAdmin class from the python-keycloak library relies on urllib3 under the hood for HTTP requests. However, I couldn't find any documentation or examples showing how to configure the connection pool size for urllib3 when using this library.
Expected Behavior:
I would like to:
Configure the connection pool size for urllib3 to handle the parallel processing requirements in my application.
Understand if there is an existing way to adjust the connection pool size in python-keycloak, or if this functionality needs to be added.
Thank you for your support!
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion! As far as I'm aware, right now it is not possible to easily set the connection pool size. It would only be possible by manually overriding or patching (mocking) the existing connection manager and its session(s). Therefore this functionality needs to be added.
Context:
I am using the
python-keycloak
library in a FastAPI-based user management application. Some of the functionalities in my application require parallel processing. During execution, I encountered the following warning:WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: auth.************.com. Connection pool size: 10
After some investigation, I determined that the
KeycloakAdmin
class from thepython-keycloak
library relies onurllib3
under the hood for HTTP requests. However, I couldn't find any documentation or examples showing how to configure the connection pool size forurllib3
when using this library.Expected Behavior:
I would like to:
urllib3
to handle the parallel processing requirements in my application.python-keycloak
, or if this functionality needs to be added.Thank you for your support!
The text was updated successfully, but these errors were encountered: