perf: 关闭页面等待ws的最大重连时间改为6秒 (#12677)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot 2024-02-21 17:51:06 +08:00 committed by GitHub
parent ba127c506d
commit 753ab77c46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()