mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-25 12:01:04 +02:00
fix: fix review comments and test
This commit is contained in:
parent
1a3f6ac09a
commit
bd69382a90
2 changed files with 1 additions and 4 deletions
|
|
@ -686,9 +686,6 @@ async def _handle_telephony_websocket(
|
|||
except RuntimeError:
|
||||
# WebSocket already closed, ignore
|
||||
pass
|
||||
finally:
|
||||
await call_concurrency.unregister_active_call(workflow_run_id)
|
||||
|
||||
|
||||
@router.post("/inbound/run")
|
||||
async def handle_inbound_run(request: Request):
|
||||
|
|
|
|||
|
|
@ -393,4 +393,4 @@ async def test_smallwebrtc_run_reaching_telephony_websocket_closes_without_runni
|
|||
)
|
||||
assert mock_db.update_workflow_run.await_count == 0
|
||||
assert provider_lookup.await_count == 0
|
||||
mock_concurrency.unregister_active_call.assert_awaited_once_with(501)
|
||||
mock_concurrency.unregister_active_call.assert_not_awaited()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue