File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
packages/app/src/app/overmind/effects/live Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -199,17 +199,17 @@ class Live {
199199 new Error ( 'Connection loss with live, reason: ' + e . code )
200200 ) ;
201201
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();
206206
207- const waitTime = 500 + 5000 * Math . random ( ) ;
207+ // const waitTime = 500 + 5000 * Math.random();
208208
209- window . setTimeout ( ( ) => {
210- this . socket . connect ( ) ;
211- } , waitTime ) ;
212- }
209+ // window.setTimeout(() => {
210+ // this.socket.connect();
211+ // }, waitTime);
212+ // }
213213 } ) ;
214214
215215 this . socket . connect ( ) ;
You can’t perform that action at this time.
0 commit comments