Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ Shutdown
Method
Shutdown
tempodb/pool/pool.go:138–141 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
136
}
137
138
func
(p *Pool) Shutdown() {
139
close(p.workQueue)
140
close(p.shutdownCh)
141
}
142
143
func
(p *Pool) worker(j <-
chan
*job) {
144
for
{
Callers
12
TestResults
Function · 0.95
TestNoResults
Function · 0.95
TestMultipleHits
Function · 0.95
TestError
Function · 0.95
TestMultipleErrors
Function · 0.95
TestTooManyJobs
Function · 0.95
TestOneWorker
Function · 0.95
TestGoingHam
Function · 0.95
TestOverloadingASmallPool
Function · 0.95
TestShutdown
Function · 0.95
TestDataEncodings
Function · 0.95
TestCancellation
Function · 0.95
Calls
no outgoing calls
Tested by
12
TestResults
Function · 0.76
TestNoResults
Function · 0.76
TestMultipleHits
Function · 0.76
TestError
Function · 0.76
TestMultipleErrors
Function · 0.76
TestTooManyJobs
Function · 0.76
TestOneWorker
Function · 0.76
TestGoingHam
Function · 0.76
TestOverloadingASmallPool
Function · 0.76
TestShutdown
Function · 0.76
TestDataEncodings
Function · 0.76
TestCancellation
Function · 0.76