MCPcopy Index your code
hub / github.com/cortexproject/cortex / batchableServer

Struct batchableServer

pkg/storegateway/batchable.go:52–56  ·  view source on GitHub ↗

batchableServer is a flushableServer that allows sending a batch of Series per message.

Source from the content-addressed store, hash-verified

50
51// batchableServer is a flushableServer that allows sending a batch of Series per message.
52type batchableServer struct {
53 storepb.Store_SeriesServer
54 batchSize int
55 series []*storepb.Series
56}
57
58func (b *batchableServer) Flush() error {
59 if len(b.series) != 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected