File tree 1 file changed +9
-9
lines changed
packages/app/src/app/overmind/effects/live
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -199,17 +199,17 @@ class Live {
199
199
new Error ( 'Connection loss with live, reason: ' + e . code )
200
200
) ;
201
201
202
- if ( e . code === 1006 ) {
203
- // This is an abrupt close, the server probably restarted or carshed. We don't want to overload
204
- // the server, so we manually wait and try to connect;
205
- this . socket . disconnect ( ) ;
202
+ // if (e.code === 1006) {
203
+ // // This is an abrupt close, the server probably restarted or carshed. We don't want to overload
204
+ // // the server, so we manually wait and try to connect;
205
+ // this.socket.disconnect();
206
206
207
- const waitTime = 500 + 5000 * Math . random ( ) ;
207
+ // const waitTime = 500 + 5000 * Math.random();
208
208
209
- window . setTimeout ( ( ) => {
210
- this . socket . connect ( ) ;
211
- } , waitTime ) ;
212
- }
209
+ // window.setTimeout(() => {
210
+ // this.socket.connect();
211
+ // }, waitTime);
212
+ // }
213
213
} ) ;
214
214
215
215
this . socket . connect ( ) ;
You can’t perform that action at this time.
0 commit comments