MCPcopy
hub / github.com/grafana/tempo / Flush

Function Flush

pkg/cache/background_extra_test.go:3–7  ·  view source on GitHub ↗
(c Cache)

Source from the content-addressed store, hash-verified

1package cache
2
3func Flush(c Cache) {
4 b := c.(*backgroundCache)
5 close(b.bgWrites)
6 b.wg.Wait()
7}

Callers 1

TestBackgroundFunction · 0.92

Calls 1

WaitMethod · 0.65

Tested by

no test coverage detected