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

Method EnablePolling

tempodb/tempodb.go:105–105  ·  view source on GitHub ↗

EnablePolling in the background of the blocklists, with the given ownership of tenants.

(ctx context.Context, sharder blocklist.JobSharder, skipNoCompactBlocks bool)

Source from the content-addressed store, hash-verified

103
104 // EnablePolling in the background of the blocklists, with the given ownership of tenants.
105 EnablePolling(ctx context.Context, sharder blocklist.JobSharder, skipNoCompactBlocks bool)
106
107 // PollNow does an immediate poll of the blocklist and is for testing purposes. Must have already called EnablePolling.
108 PollNow(ctx context.Context)

Callers 15

TestDBFunction · 0.65
TestBlockShardingFunction · 0.65
TestBlockCleanupFunction · 0.65
TestNoCompactFlagFunction · 0.65
TestPollNotificationFunction · 0.65
testCompactionRoundtripFunction · 0.65
testSameIDCompactionFunction · 0.65
TestCompactionMetricsFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestDBFunction · 0.52
TestBlockShardingFunction · 0.52
TestBlockCleanupFunction · 0.52
TestNoCompactFlagFunction · 0.52
TestPollNotificationFunction · 0.52
testCompactionRoundtripFunction · 0.52
testSameIDCompactionFunction · 0.52
TestCompactionMetricsFunction · 0.52