MCPcopy
hub / github.com/prometheus/prometheus / SetStoreWait

Method SetStoreWait

storage/remote/queue_manager_test.go:1056–1060  ·  view source on GitHub ↗
(w time.Duration)

Source from the content-addressed store, hash-verified

1054}
1055
1056func (c *TestWriteClient) SetStoreWait(w time.Duration) {
1057 c.mtx.Lock()
1058 defer c.mtx.Unlock()
1059 c.storeWait = w
1060}
1061
1062func (c *TestWriteClient) SetReturnError(err error) {
1063 c.mtx.Lock()

Callers 1

TestSampleDeliveryFunction · 0.95

Calls 1

LockMethod · 0.80

Tested by

no test coverage detected