New implementation of ConnectionMaker just periodically scanning who we need to connect to

This commit is contained in:
Bryan Boreham committed 2014-09-10 12:08:49 +01:00
1 parent 42ce45dd55
commit 84aeaf340a
4 files changed
+98 -61

No files matched your search

-1
View File
@@ -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