MCPcopy
hub / github.com/pingcap/tidb / Pool

Struct Pool

pkg/lightning/worker/worker.go:25–30  ·  view source on GitHub ↗

Pool is the worker pool.

Source from the content-addressed store, hash-verified

23
24// Pool is the worker pool.
25type Pool struct {
26 limit int
27 workers chan *Worker
28 name string
29 metrics *metric.Metrics
30}
31
32// Worker is the worker struct.
33type Worker struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected