Skip to content

EspoCRM – Open Source CRM Application

manual merge

Yuri Kuznetsov9f9ad1fe5624
diff --cc client/src/web-socket-manager.js
index ebecf59201,99933c733d..fc31908c76
--- a/client/src/web-socket-manager.js
+++ b/client/src/web-socket-manager.js
@@@ -52,14 -52,32 +52,38 @@@ class WebSocketManager
*/
pingTimeout
+ /**
+ * @private
+ * @type {boolean}
+ */
+ wasConnected = false
+
+ /**
+ * @private
+ * @type {boolean}
+ */
+ isConnecting = false
+
+ /**
+ * @private
+ * @type {number}
+ */
+ checkWakeInterval = 3
+
+ /**
+ * @private
+ * @type {number}
+ */
+ checkWakeThresholdInterval = 5
+
/**
- * @param {module:models/settings} config A config.
+ * @private
+ * @type {boolean}
+ */
+ enabled = false
+
+ /**
+ * @param {import('models/settings').default} config A config.
*/
constructor(config) {
/**