refactor: own coalescer flush lifecycle

This commit is contained in:
jxxghp
2026-08-24 03:11:49 +08:00
parent e1230c0277
commit e768eb46fe
9 changed files with 71 additions and 7 deletions
+5
View File
@@ -950,6 +950,11 @@ _image_proxy_block_log_coalescer = EventCoalescer(
)
async def close_image_proxy_block_log_coalescer() -> None:
"""刷新图片代理阻断摘要,并等待已经启动的窗口 flush 任务。"""
await _image_proxy_block_log_coalescer.close()
async def _emit_image_proxy_block_warning(
*,
url: str,