This commit is contained in:
joylink_cuiweidong 2020-01-14 18:19:14 +08:00
commit 388690c181

View File

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