mirror of
https://github.com/lorsanstand/HomeOps-Hub.git
synced 2026-06-19 14:25:16 +03:00
fix: with heartbeat timeout Listen did not complete
This commit is contained in:
@@ -97,7 +97,7 @@ func (a *AgentConnection) listenHeartbeat(heartbeats <-chan domainHub.CreateHear
|
||||
}
|
||||
|
||||
a.log.Warn().Msg("agent not send heartbeat")
|
||||
a.cancel()
|
||||
a.Close()
|
||||
return
|
||||
case heartbeat := <-heartbeats:
|
||||
a.log.Debug().
|
||||
|
||||
Reference in New Issue
Block a user