MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / _is_cleanup_disabled

Method _is_cleanup_disabled

src/services/file_cache.py:42–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 self._download_locks: Dict[str, asyncio.Lock] = {}
41
42 def _is_cleanup_disabled(self) -> bool:
43 return self.default_timeout <= 0
44
45 def _get_request_fingerprint(self) -> Optional[Dict[str, Any]]:
46 """读取当前请求链路里绑定的浏览器指纹。"""

Callers 3

start_cleanup_taskMethod · 0.95
refresh_cleanup_taskMethod · 0.95
download_and_cacheMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected