File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -778,20 +778,6 @@ impl EngineInner {
778778 log:: error!( "resuming connection... attempt: {}" , i) ;
779779 if let Err ( err) = self . try_resume_connection ( ) . await {
780780 log:: error!( "resuming connection failed: {}" , err) ;
781-
782- if let EngineError :: Signal ( SignalError :: LeaveRequest { action, .. } ) = & err {
783- if * action == proto:: leave_request:: Action :: Disconnect {
784- log:: warn!(
785- "server sent leave with disconnect action, stopping reconnect"
786- ) ;
787- let mut running_handle = self . running_handle . write ( ) ;
788- running_handle. can_reconnect = false ;
789- return Err ( EngineError :: Connection (
790- "server requested disconnect" . into ( ) ,
791- ) ) ;
792- }
793- }
794-
795781 let mut running_handle = self . running_handle . write ( ) ;
796782 running_handle. full_reconnect = true ;
797783 } else {
You can’t perform that action at this time.
0 commit comments