mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-11-22 17:49:29 +00:00
fix: update event bus for the last aiohttp-sse api change
This commit is contained in:
1 parent
19ca1ac797
commit
118ffdffe5
2 files changed
+13
-12
No files matched your search
@@ -87,7 +87,8 @@ class EventBusView(BaseView):
|
||||
"""
|
||||
while response.is_connected():
|
||||
try:
|
||||
event_type, data = await wait_for(queue.get(), timeout=response.ping_interval)
|
||||
# pylint: disable=protected-access
|
||||
event_type, data = await wait_for(queue.get(), timeout=response._ping_interval)
|
||||
except TimeoutError:
|
||||
continue
|
||||
except QueueShutDown:
|
||||
|
||||
Reference in new issue
Block a user