Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cortexproject/cortex
/ Submit
Method
Submit
pkg/util/worker_pool.go:20–20 ·
view source on GitHub ↗
(f func())
Source
from the content-addressed store, hash-verified
18
19
type
AsyncExecutor
interface
{
20
Submit(f
func
())
21
Stop()
22
}
23
Callers
6
DoBatch
Function · 0.65
Fetch
Method · 0.65
TestDefaultShardingStrategy
Function · 0.65
TestShuffleShardingStrategy
Function · 0.65
TestWorkerPool_TestMetric
Function · 0.65
TestWorkerPool_ShouldFallbackWhenAllWorkersAreBusy
Function · 0.65
Implementers
2
noOpExecutor
pkg/util/worker_pool.go
workerPoolExecutor
pkg/util/worker_pool.go
Calls
no outgoing calls
Tested by
4
TestDefaultShardingStrategy
Function · 0.52
TestShuffleShardingStrategy
Function · 0.52
TestWorkerPool_TestMetric
Function · 0.52
TestWorkerPool_ShouldFallbackWhenAllWorkersAreBusy
Function · 0.52