Fix long-polling request for project notifications.

This commit is contained in:
grossmj committed 2019-02-23 21:08:52 +07:00
1 parent 10702f87bc
commit 7fe8f7e716
10 files changed
+82 -64

No files matched your search

+1 -4
View File
@@ -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: