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

Function _sync_runtime_cache_config

src/api/admin.py:1688–1693  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1686
1687
1688async def _sync_runtime_cache_config():
1689 from . import routes
1690 if routes.generation_handler and routes.generation_handler.file_cache:
1691 file_cache = routes.generation_handler.file_cache
1692 file_cache.set_timeout(config.cache_timeout)
1693 await file_cache.refresh_cleanup_task()
1694
1695# ========== Cache Configuration Endpoints ==========
1696

Callers 3

update_cache_enabledFunction · 0.85
update_cache_config_fullFunction · 0.85
update_cache_base_urlFunction · 0.85

Calls 2

set_timeoutMethod · 0.80
refresh_cleanup_taskMethod · 0.80

Tested by

no test coverage detected