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

Method Shutdown

tempodb/tempodb.go:575–582  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

573}
574
575func (rw *readerWriter) Shutdown() {
576 // Closed only by context cancelation when the poller is finished.
577 if rw.pollerShutdownCh != nil {
578 <-rw.pollerShutdownCh
579 }
580 rw.pool.Shutdown()
581 rw.r.Shutdown()
582}
583
584// EnableCompaction activates the compaction/retention loops
585func (rw *readerWriter) EnableCompaction(ctx context.Context, cfg *CompactorConfig, c CompactorSharder, overrides CompactorOverrides) error {

Callers

nothing calls this directly

Calls 1

ShutdownMethod · 0.65

Tested by

no test coverage detected