Skip to content

Commit

Permalink
Log when Ui requests are blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Apr 18, 2020
1 parent 53b3caa commit 1d68f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/api.go
Expand Up @@ -82,8 +82,8 @@ func (lp *LoadPoint) Dump() {
func (lp *LoadPoint) Update() {
select {
case lp.triggerChan <- struct{}{}: // non-blocking send
log.WARN.Printf("%s update blocked", lp.Name)
default:
log.WARN.Printf("%s update blocked", lp.Name)
}
}

Expand Down

0 comments on commit 1d68f43

Please sign in to comment.