From ff7d29654a975c12bfcf6d1b7719bd861ed6d8be Mon Sep 17 00:00:00 2001 From: Keval Sakhiya <37344767+kevalsakhiya@users.noreply.github.com> Date: Tue, 20 May 2025 11:21:31 +0530 Subject: [PATCH] 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'. --- docs/topics/spiders.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/spiders.rst b/docs/topics/spiders.rst index 891c4da05..8240d5d4b 100644 --- a/docs/topics/spiders.rst +++ b/docs/topics/spiders.rst @@ -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