Commit 696ba80
Fix cleanup of empty pool keys in connector
Issues #253 and #254 implemented a `_conns` key evince logic in the
function that actually **adds** items to `_conns`
Issue #406 tweaked this logic even more, making early and eviction
of reusable items in the pool possible.
Here we put the key eviction logic where it belongs: in the method
that **removes** items from the `_conns` pool.1 parent f9a4f50 commit 696ba80
1 file changed
+7
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
307 | 310 | | |
308 | 311 | | |
309 | 312 | | |
| |||
313 | 316 | | |
314 | 317 | | |
315 | 318 | | |
316 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
317 | 322 | | |
318 | 323 | | |
319 | 324 | | |
| |||
351 | 356 | | |
352 | 357 | | |
353 | 358 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | 359 | | |
364 | 360 | | |
365 | 361 | | |
| |||
0 commit comments