Files
traces/pkg/cache/background_extra_test.go
Martin DisibioandGitHub f3033f1791 Remove dependency on cortexproject/cortex/pkg/chunk/cache (#1237)
* Fork cortex/pkg/chunk/cache, remove dependency

* lint
2022-01-26 10:54:58 -05:00

8 lines
98 B
Go

package cache
func Flush(c Cache) {
b := c.(*backgroundCache)
close(b.bgWrites)
b.wg.Wait()
}