Project

General

Profile

Feature #1731

websocket重连方式优化

Added by zhenyu yu over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
10/08/2021
Due date:
10/09/2021
% Done:

100%

Estimated time:
Defect version:

Description

问题描述:
websocket重连,原实现方式为使用第三方插件 reconnecting-websocket.min.js 实现,当后台使用nginx后连接出现问题,遂对websocket重连功能进行优化。

优化方案:
放弃第三方插件实现重连的方式,改为自己判断监控连接状态,实现断开重连、设置重连间隔时间、最大重连次数等功能。

History

#1

Updated by zhenyu yu over 2 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF