MCPcopy Create free account
hub / github.com/Comfy-Org/ComfyUI / init_classic_cache

Method init_classic_cache

execution.py:132–134  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

130
131 # Performs like the old cache -- dump data ASAP
132 def init_classic_cache(self):
133 self.outputs = HierarchicalCache(CacheKeySetInputSignature, enable_providers=True)
134 self.objects = HierarchicalCache(CacheKeySetID)
135
136 def init_lru_cache(self, cache_size):
137 self.outputs = LRUCache(CacheKeySetInputSignature, max_size=cache_size, enable_providers=True)

Callers 1

__init__Method · 0.95

Calls 1

HierarchicalCacheClass · 0.90

Tested by

no test coverage detected