From 753ab77c46046196c8046004885d0ed7b18a3735 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Wed, 21 Feb 2024 17:51:06 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=85=B3=E9=97=AD=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=AD=89=E5=BE=85ws=E7=9A=84=E6=9C=80=E5=A4=A7=E9=87=8D?= =?UTF-8?q?=E8=BF=9E=E6=97=B6=E9=97=B4=E6=94=B9=E4=B8=BA6=E7=A7=92=20(#126?= =?UTF-8?q?77)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: feng <1304903146@qq.com> --- apps/notifications/ws.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/notifications/ws.py b/apps/notifications/ws.py index b172c4ed4..653b068d4 100644 --- a/apps/notifications/ws.py +++ b/apps/notifications/ws.py @@ -83,7 +83,7 @@ class SiteMsgWebsocket(JsonWebsocketConsumer): not user_session_manager.check_active(self.session.session_key) def delay_delete_session(self): - timeout = 3 + timeout = 6 check_interval = 0.5 start_time = time.time()