test: pin the expiry window and close settlement review gaps

This commit is contained in:
2026-09-10 05:20:56 -04:00
parent b1bc06e2b1
commit 5e2c35a812
5 changed files with 30 additions and 3 deletions
+1
View File
@@ -634,6 +634,7 @@ async def gather_bounded[T](aws: Iterable[Awaitable[T]], *, concurrency: int) ->
"""有界并发 gather(D5 便利函数,替代 VT 手搓 semaphore+gather 样板)。
语义与 `asyncio.gather` 默认一致: 结果保序、首个异常上抛;仅增加并发上限。
期限计时从每次调用真正开始执行起算,信号量排队时长不在 `call_deadline_s` 之内。
"""
if concurrency < 1:
raise ValueError("concurrency 必须 ≥ 1")