- EvalEngine case 循环改 asyncio.gather + semaphore(默认 3 并发) - 规则评估并行(默认 5 并发),LLM 评分耗时从串行求和降为最慢一条 - _resolve_model 改 async + 双重检查锁,保护共享模型缓存 - _case_errors / case_outcomes 并发写入加状态锁 - Campaign occurrence 派生并行(默认 2 并发),claim 拒绝时提前收敛 - 新增配置:max_concurrent_cases=3 / max_concurrent_rules=5 / max_concurrent_runs=2 SQLite StaticPool 单连接下 DB 写入仍天然串行,并行收益集中在 channel I/O 与 LLM 调用的等待重叠。 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| settings.py | ||