Skip to content

Commit

Permalink
popm: change BFG reconnect log to 'info' level (hemilabs#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasing authored Aug 6, 2024
1 parent 05e256f commit 791420d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions service/popm/popm.go
Original file line number Diff line number Diff line change
Expand Up @@ -750,10 +750,11 @@ func (m *Miner) handleBFGWebsocketRead(ctx context.Context, conn *protocol.Conn)
return ctx.Err()
case <-time.After(m.holdoffTimeout):
}
// XXX this is too noisy
log.Errorf("Retrying connecting to BFG")

log.Infof("Reconnecting to BFG server")
continue
}

switch cmd {
case bfgapi.CmdPingRequest:
p := payload.(*bfgapi.PingRequest)
Expand Down

0 comments on commit 791420d

Please sign in to comment.