mirror of https://github.com/scrapy/scrapy.git
Fix typo in documentation and code: 'needs_backoff' -> 'needs_backout' (#6815)
Corrected the typo in the code and documentation where 'needs_backoff' was incorrectly used instead of 'needs_backout'.
This commit is contained in:
parent
4b9043b532
commit
ff7d29654a
|
|
@ -388,7 +388,7 @@ its iteration whenever there are scheduled requests:
|
|||
|
||||
async def start(self):
|
||||
async for item_or_request in super().start():
|
||||
if self.crawler.engine.needs_backoff():
|
||||
if self.crawler.engine.needs_backout():
|
||||
await self.crawler.signals.wait_for(signals.scheduler_empty)
|
||||
yield item_or_request
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue