fix(config): 增加缓存生存时间和最大内存占用限制

This commit is contained in:
Windpicker-owo
2025-11-08 11:03:01 +08:00
parent 6832cbcc91
commit 96dbb8fc55
4 changed files with 7 additions and 7 deletions

View File

@@ -89,7 +89,7 @@ class AdaptiveBatchScheduler:
base_wait_time: float = 0.05, # 50ms
max_wait_time: float = 0.2, # 200ms
max_queue_size: int = 1000,
cache_ttl: float = 5.0,
cache_ttl: float = 30.0,
):
"""初始化调度器