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:
Keval Sakhiya 2025-05-20 11:21:31 +05:30 committed by Andrey Rakhmatullin
parent f28be27423
commit 43087fe1df
1 changed files with 1 additions and 1 deletions

View File

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