mirror of https://github.com/scrapy/scrapy.git
core: try to process requests after getting a DontCloseDomain to avoid delay on processing reinjected requests
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%401068
This commit is contained in:
parent
5f5962e6a4
commit
4d16571988
|
|
@ -481,6 +481,7 @@ class ExecutionEngine(object):
|
|||
try:
|
||||
dispatcher.send(signal=signals.domain_idle, sender=self.__class__, domain=domain, spider=spider)
|
||||
except DontCloseDomain:
|
||||
self.next_request(spider)
|
||||
return
|
||||
except:
|
||||
log.exc("Exception catched on domain_idle signal dispatch")
|
||||
|
|
|
|||
Loading…
Reference in New Issue