MCPcopy Index your code
hub / github.com/tanelpoder/0xtools / clear_cache

Method clear_cache

xtop/core/performance_optimizer.py:201–208  ·  view source on GitHub ↗

Clear the query cache

(self)

Source from the content-addressed store, hash-verified

199 return stats
200
201 def clear_cache(self) -> None:
202 """Clear the query cache"""
203 with self._cache_lock:
204 self._query_cache.clear()
205 self._cache_timestamps.clear()
206
207 if self.logger:
208 self.logger.info("Query cache cleared")
209
210 def should_use_materialized(self,
211 data_size: int,

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected