0.2.72 - Magic button, Next up fixes
This commit is contained in:
@@ -136,9 +136,9 @@ func (s *Server) WatchEmbyReachability(ctx context.Context, interval time.Durati
|
||||
continue
|
||||
}
|
||||
probeCtx, cancel := context.WithTimeout(ctx, 5*time.Second)
|
||||
err := s.emby.Ping(probeCtx)
|
||||
version, err := s.emby.Ping(probeCtx)
|
||||
cancel()
|
||||
s.embyHealth.record(err == nil, time.Now().UTC())
|
||||
s.embyHealth.record(err == nil, version, time.Now().UTC())
|
||||
|
||||
if err != nil {
|
||||
failures++
|
||||
|
||||
Reference in New Issue
Block a user