MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / _start_clear_cron

Method _start_clear_cron

cache/local_cache.py:121–128  ·  view source on GitHub ↗

Start scheduled cleanup task :return:

(self)

Source from the content-addressed store, hash-verified

119 del self._cache_container[key]
120
121 async def _start_clear_cron(self):
122 """
123 Start scheduled cleanup task
124 :return:
125 """
126 while True:
127 self._clear()
128 await asyncio.sleep(self._cron_interval)
129
130
131if __name__ == '__main__':

Callers 1

_schedule_clearMethod · 0.95

Calls 1

_clearMethod · 0.95

Tested by

no test coverage detected