mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-19 19:21:41 +02:00
Close done channel in MetricCache
This commit is contained in:
parent
0a726a9cdc
commit
00d29ed9d1
@ -76,6 +76,7 @@ func (c *metricCache) Start() {
|
|||||||
// Router cache is done
|
// Router cache is done
|
||||||
done := func() {
|
done := func() {
|
||||||
cclog.ComponentDebug("MetricCache", "DONE")
|
cclog.ComponentDebug("MetricCache", "DONE")
|
||||||
|
close(c.done)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rotate cache interval
|
// Rotate cache interval
|
||||||
|
Loading…
x
Reference in New Issue
Block a user