Skip to content

Commit 833968d

Browse files
committed
Added dispatching of custom connection pool
1 parent dfcd488 commit 833968d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

redis/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,10 @@ def __init__(
324324
self.auto_close_connection_pool = False
325325

326326
self.connection_pool = connection_pool
327+
event_dispatcher.dispatch(AfterPooledConnectionsInstantiationEvent(
328+
[connection_pool],
329+
credential_provider
330+
))
327331

328332
if (cache_config or cache) and self.connection_pool.get_protocol() not in [
329333
3,

0 commit comments

Comments
 (0)