MCPcopy Index your code
hub / github.com/MiniCodeMonkey/chief / DefaultRetryConfig

Function DefaultRetryConfig

internal/loop/loop.go:34–40  ·  view source on GitHub ↗

DefaultRetryConfig returns the default retry configuration.

()

Source from the content-addressed store, hash-verified

32
33// DefaultRetryConfig returns the default retry configuration.
34func DefaultRetryConfig() RetryConfig {
35 return RetryConfig{
36 MaxRetries: 3,
37 RetryDelays: []time.Duration{0, 5 * time.Second, 15 * time.Second},
38 Enabled: true,
39 }
40}
41
42// Loop manages the core agent loop that invokes the configured agent repeatedly until all stories are complete.
43type Loop struct {

Callers 4

NewLoopFunction · 0.85
NewLoopWithWorkDirFunction · 0.85
TestDefaultRetryConfigFunction · 0.85
NewManagerFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestDefaultRetryConfigFunction · 0.68