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

Method SetBackoff

integration/e2e/service.go:87–89  ·  view source on GitHub ↗

Less often used options.

(cfg backoff.Config)

Source from the content-addressed store, hash-verified

85// Less often used options.
86
87func (s *ConcreteService) SetBackoff(cfg backoff.Config) {
88 s.retryBackoff = backoff.New(context.Background(), cfg)
89}
90
91func (s *ConcreteService) SetEnvVars(env map[string]string) {
92 s.env = env

Callers 3

newSingleBinaryFunction · 0.80
TestWaitSumMetricFunction · 0.80
TestWaitSumMetric_NanFunction · 0.80

Calls 1

NewFunction · 0.92

Tested by 3

newSingleBinaryFunction · 0.64
TestWaitSumMetricFunction · 0.64
TestWaitSumMetric_NanFunction · 0.64