diff --git a/core/datasource/flask_server.py b/core/datasource/flask_server.py index c2b3b12..83217f8 100644 --- a/core/datasource/flask_server.py +++ b/core/datasource/flask_server.py @@ -100,7 +100,7 @@ def get_fetcher() -> UniversalDataFetcher: # 缓存配置 CACHE_MAXSIZE = int(os.getenv('CACHE_MAXSIZE', '128')) # 默认缓存128条数据 -CACHE_TTL_SECONDS = int(os.getenv('CACHE_TTL_SECONDS', '300')) # 默认5分钟过期 +CACHE_TTL_SECONDS = int(os.getenv('CACHE_TTL_SECONDS', '7200')) # 默认5分钟过期 # 带时间戳的缓存条目 class TimedCacheEntry: