forked from datastax/python-driver
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit 472b679
committed
Make lbevreactor remove connection from new connections list on discard
WHen connection is destroyed it is not removed from `self._new_conns`,
which is why the following error happens:
```
File "/123/cassandra/io/libevreactor.py", line 197, in _loop_will_run
conn._read_watcher.start()
AttributeError: 'NoneType' object has no attribute 'start'
```1 parent 77b8684 commit 472b679
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
168 | + | ||
169 | + | ||
170 | + | ||
171 | + | ||
168 | 172 |
| |
169 | 173 |
| |
170 | 174 |
| |
|
0 commit comments