Added descriptive name to event dispatch asyncio task.
CI / Formatting (push) Successful in 6s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 13s
CI / Tests (Python 3.13) (push) Successful in 12s
CI / Tests (Python 3.14) (push) Successful in 10s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 5s

This commit is contained in:
2026-04-09 20:45:36 -04:00
parent 4fa7050f0a
commit 48eae62608
+2 -1
View File
@@ -166,7 +166,8 @@ class HttpServer:
# we can respond immediately. This avoids the possibility
# of slow handlers blocking Owncast's webhook delivery.
task: asyncio.Task[None] = asyncio.create_task(
self._event_dispatch(parsed_type, event)
self._event_dispatch(parsed_type, event),
name=f"Event dispatch - {parsed_type.value}",
)
self._pending_tasks.add(task)
task.add_done_callback(self._pending_tasks.discard)