MCPcopy
hub / github.com/grafana/tempo / clear

Method clear

modules/frontend/v1/request_batch.go:32–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (b *requestBatch) clear() {
33 b.pipelineRequests = b.pipelineRequests[:0]
34 b.wireRequests = b.wireRequests[:0]
35}
36
37func (b *requestBatch) add(r *request) error {
38 b.pipelineRequests = append(b.pipelineRequests, r)

Callers 2

ProcessMethod · 0.95
TestRequestBatchBasicsFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestRequestBatchBasicsFunction · 0.76