New implementation of ConnectionMaker just periodically scanning who we need to connect to
This commit is contained in:
1 parent
42ce45dd55
commit
84aeaf340a
4 files changed
+98
-61
No files matched your search
@@ -221,7 +221,6 @@ func (conn *LocalConnection) handleSetEstablished() error {
|
||||
conn.established = true
|
||||
conn.Unlock()
|
||||
if !old {
|
||||
conn.Router.ConnectionMaker.ConnectionEstablished(conn.remoteTCPAddr)
|
||||
conn.local.ConnectionEstablished(conn)
|
||||
if err := conn.ensureHeartbeat(false); err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user