MCPcopy Create free account
hub / github.com/cortexproject/cortex / newProcessorManager

Function newProcessorManager

pkg/querier/worker/processor_manager.go:33–41  ·  view source on GitHub ↗
(ctx context.Context, p processor, conn *grpc.ClientConn, address string)

Source from the content-addressed store, hash-verified

31}
32
33func newProcessorManager(ctx context.Context, p processor, conn *grpc.ClientConn, address string) *processorManager {
34 return &processorManager{
35 p: p,
36 ctx: ctx,
37 conn: conn,
38 address: address,
39 currentProcessors: atomic.NewInt32(0),
40 }
41}
42
43func (pm *processorManager) stop() {
44 // Notify the remote query-frontend or query-scheduler we're shutting down.

Callers 2

AddressAddedMethod · 0.85

Calls

no outgoing calls

Tested by 1