MCPcopy
hub / github.com/scrapy/scrapy / is_idle

Method is_idle

scrapy/core/scraper.py:95–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

93 self.active_size -= self.MIN_RESPONSE_SIZE
94
95 def is_idle(self) -> bool:
96 return not (self.queue or self.active)
97
98 def needs_backout(self) -> bool:
99 return self.active_size > self.max_active_size

Callers 2

_check_if_closingMethod · 0.45
spider_is_idleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected