WIP
This commit is contained in:
@@ -98,11 +98,11 @@ func (a *App) Run() error {
|
||||
case e := <-a.multicastCh:
|
||||
a.onMulticastDiscovery(e)
|
||||
case <-stateTicker.C:
|
||||
a.onTick()
|
||||
a.onStateTick()
|
||||
case <-pingTicker.C:
|
||||
a.onPingTicker()
|
||||
a.onPingTick()
|
||||
tickCount++
|
||||
if tickCount == 0 {
|
||||
if tickCount%8 == 0 {
|
||||
a.logNetworkState()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user