mirror of https://github.com/prometheus/prometheus
Browse Source
Rather than sending a value to the done channel on a group to indicate whether or not to add stale markers to a closing rule group use an explicit boolean. This allows more functions than just run() to read from the done channel and fixes an issue where Eval() could consume the channel during an update, causing run() to never return. Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>pull/7139/head
Chris Marchbanks
5 years ago
committed by
GitHub
1 changed files with 11 additions and 17 deletions
Loading…
Reference in new issue