mirror of https://github.com/scrapy/scrapy.git
per slot settings: logger deleted as not used (step 2)
This commit is contained in:
parent
4be9c969fd
commit
aabdd0b657
|
|
@ -204,5 +204,4 @@ class Downloader:
|
|||
mintime = time() - age
|
||||
for key, slot in list(self.slots.items()):
|
||||
if not slot.active and slot.lastseen + slot.delay < mintime:
|
||||
inactive_slot = self.slots.pop(key)
|
||||
inactive_slot.close()
|
||||
self.slots.pop(key).close()
|
||||
|
|
|
|||
Loading…
Reference in New Issue