MCPcopy
hub / github.com/SurgeDM/Surge / GetMaxTaskRetries

Method GetMaxTaskRetries

internal/engine/types/config.go:133–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131}
132
133func (r *RuntimeConfig) GetMaxTaskRetries() int {
134 if r == nil || r.MaxTaskRetries <= 0 {
135 return MaxTaskRetries
136 }
137 return r.MaxTaskRetries
138}
139
140func (r *RuntimeConfig) GetDialHedgeCount() int {
141 if r == nil || r.DialHedgeCount < 0 {

Callers 2

workerMethod · 0.80

Calls

no outgoing calls

Tested by 1