mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-17 02:47:51 +01:00
Reworked connection code. Pings are now regularly sent out to every connection to check if it remains valid.
Invalid connections are moved to a second list, and eventually dropped if they don't become active.
This commit is contained in:
@@ -19,4 +19,5 @@ func Init() {
|
||||
func Connect() {
|
||||
go bootstrap()
|
||||
go autoMulticastBroadcast()
|
||||
go autoPingAll()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user