Some optimization for P2P part. Added panic on error of reregistering server token - needed for investigation of stuck network.
This commit is contained in:
+1
-1
@@ -109,7 +109,7 @@ impl Peer {
|
||||
}
|
||||
|
||||
pub fn disabled(&self) -> bool {
|
||||
self.state.disabled()
|
||||
self.state.disabled() || self.reconnects > 2
|
||||
}
|
||||
|
||||
pub fn is_inbound(&self) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user