refactor(exec_bridge): add worker pool backpressure

This commit is contained in:
banteg
2025-12-29 14:34:10 +04:00
parent 25655ed200
commit 0bae7baad6
2 changed files with 42 additions and 49 deletions
@@ -111,7 +111,6 @@ def test_final_notify_sends_loud_final_message() -> None:
asyncio.run(
_handle_message(
cfg,
semaphore=asyncio.Semaphore(1),
chat_id=123,
user_msg_id=10,
text="hi",
@@ -141,7 +140,6 @@ def test_new_final_message_forces_notification_when_too_long_to_edit() -> None:
asyncio.run(
_handle_message(
cfg,
semaphore=asyncio.Semaphore(1),
chat_id=123,
user_msg_id=10,
text="hi",