mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-10-21 21:31:52 +00:00
filter out websocket requests
This commit is contained in:
1 parent
30b7335e66
commit
5f36852b9a
1 file changed
+1
-1
@@ -30,7 +30,7 @@ class IrHttp(models.AbstractModel):
|
||||
@classmethod
|
||||
def _monitoring_blacklist(cls, request):
|
||||
path_info = request.httprequest.environ.get("PATH_INFO")
|
||||
if path_info.startswith("/longpolling/"):
|
||||
if path_info.startswith(("/longpolling/", "/websocket")):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||