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

Co-authored-by: feng <1304903146@qq.com>
pull/12681/head
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
1 changed files with 1 additions and 1 deletions

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