This repository was archived by the owner on Oct 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed
Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,17 @@ export class IOC {
3535 }
3636
3737 private handleConnectionState = ( state : Socket . ConnectionState ) : void => {
38- const needsToReconnectStates = [
39- Socket . ClientState . DISCONNECTED ,
40- Socket . ClientState . RECONNECT_ERROR ,
41- ] ;
42-
43- if (
44- needsToReconnectStates . includes ( state . state ) &&
45- ! [ 'io client disconnect' , 'Unauthorized connection' ] . includes ( state . reason )
46- ) {
47- this . forceReconnect ( ) ;
48- }
38+ // const needsToReconnectStates = [
39+ // Socket.ClientState.DISCONNECTED,
40+ // Socket.ClientState.RECONNECT_ERROR,
41+ // ];
42+
43+ // if (
44+ // needsToReconnectStates.includes(state.state) &&
45+ // !['io client disconnect', 'Unauthorized connection'].includes(state.reason)
46+ // ) {
47+ // this.forceReconnect();
48+ // }
4949
5050 if ( state . reason === 'Unauthorized connection' ) {
5151 console . error (
Original file line number Diff line number Diff line change 26662666 resolved "https://registry.yarnpkg.com/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz#96116f2a912e0c02817345b3c10751069920d553"
26672667 integrity sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==
26682668
2669- 2670- version "1.9.0 "
2671- resolved "https://registry.yarnpkg.com/@superviz/socket-client/-/socket-client-1.9.0 .tgz#fd14fb485e6b04275f810f2b90b38b62d8af972f "
2672- integrity sha512-C6IkWJ6mWcL3y6cPvs2yVwTi0YZ/Nm76uYA+736X3vYOPsMna63Jl0nD+iNoIWj0l00hGAR5ZORTWLrMRnrAxA ==
2669+ 2670+ version "1.9.1 "
2671+ resolved "https://registry.yarnpkg.com/@superviz/socket-client/-/socket-client-1.9.1 .tgz#392c370b049996dd7ea4d668ef9f69f3d8f7a123 "
2672+ integrity sha512-esDtE/bSGNW1DeSuqv9/gE4tVDyaYxeQDrSeAlTA+rHQWPLOsOKyYE6r0SyNQJtThzgm0/VLtAGc+pGdcdSc8g ==
26732673 dependencies :
26742674 " @reactivex/rxjs" " ^6.6.7"
26752675 debug "^4.3.5"
You can’t perform that action at this time.
0 commit comments