From 7b7d332035612a094fa11175ff2a8bf9af29ba68 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Tue, 14 Jan 2020 17:26:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=8D=E8=BF=9E=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/sock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/sock.js b/src/utils/sock.js index a20774e48..73778c8c8 100644 --- a/src/utils/sock.js +++ b/src/utils/sock.js @@ -9,7 +9,7 @@ import Stomp from 'stompjs'; const isDev = process.env.NODE_ENV === 'development'; const isTest = process.env.NODE_ENV === 'test'; const websocketUrl = `${getBaseUrl()}/joylink-websocket?token=`; -const reconnectInterval = [0, 0, 3000, 5000, 10000, 30000, 60000]; +const reconnectInterval = [1, 1, 3000, 5000, 10000, 30000, 30000, 60000]; let notFirstConnect = false; var StompClient = function (headers) {