mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix long-polling request for project notifications.
This commit is contained in:
1 parent
10702f87bc
commit
7fe8f7e716
10 files changed
+82
-64
No files matched your search
@@ -460,10 +460,7 @@ class BaseManager:
|
||||
if not data:
|
||||
await asyncio.sleep(0.1)
|
||||
continue
|
||||
try:
|
||||
await response.write(data)
|
||||
except ConnectionError:
|
||||
break
|
||||
await response.write(data)
|
||||
except FileNotFoundError:
|
||||
raise aiohttp.web.HTTPNotFound()
|
||||
except PermissionError:
|
||||
|
||||
Reference in new issue
Block a user