MCPcopy
hub / github.com/scrapy/scrapy / update

Method update

scrapy/extensions/memusage.py:100–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 tsk.stop()
99
100 def update(self) -> None:
101 assert self.crawler.stats
102 self.crawler.stats.max_value("memusage/max", self.get_virtual_size())
103
104 def _check_limit(self) -> None:
105 assert self.crawler.engine

Callers 1

logMethod · 0.45

Calls 2

get_virtual_sizeMethod · 0.95
max_valueMethod · 0.45

Tested by

no test coverage detected