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:
Daniel Grana 2009-04-17 19:13:38 +00:00
parent 5f5962e6a4
commit 4d16571988
1 changed files with 1 additions and 0 deletions

View File

@ -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")