Close done channel in MetricCache

This commit is contained in:
Thomas Roehl 2022-01-30 14:58:52 +01:00
parent 0a726a9cdc
commit 00d29ed9d1

View File

@ -76,6 +76,7 @@ func (c *metricCache) Start() {
// Router cache is done
done := func() {
cclog.ComponentDebug("MetricCache", "DONE")
close(c.done)
}
// Rotate cache interval