Skip to content

Commit 791de9b

Browse files
committed
Remove unused driver_info attribute from connection pools
1 parent d238102 commit 791de9b

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

redis/asyncio/connection.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,9 +1220,6 @@ def __init__(
12201220
if self._event_dispatcher is None:
12211221
self._event_dispatcher = EventDispatcher()
12221222

1223-
# Store driver_info for propagation to connections
1224-
self.driver_info = self.connection_kwargs.get("driver_info", None)
1225-
12261223
def __repr__(self):
12271224
conn_kwargs = ",".join([f"{k}={v}" for k, v in self.connection_kwargs.items()])
12281225
return (

redis/connection.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2502,9 +2502,6 @@ def __init__(
25022502
if self._event_dispatcher is None:
25032503
self._event_dispatcher = EventDispatcher()
25042504

2505-
# Store driver_info for propagation to connections
2506-
self.driver_info = self._connection_kwargs.get("driver_info", None)
2507-
25082505
# a lock to protect the critical section in _checkpid().
25092506
# this lock is acquired when the process id changes, such as
25102507
# after a fork. during this time, multiple threads in the child

0 commit comments

Comments
 (0)