MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / SetMaxIterations

Method SetMaxIterations

internal/loop/manager.go:542–546  ·  view source on GitHub ↗

SetMaxIterations updates the default max iterations for new loops.

(maxIter int)

Source from the content-addressed store, hash-verified

540
541// SetMaxIterations updates the default max iterations for new loops.
542func (m *Manager) SetMaxIterations(maxIter int) {
543 m.mu.Lock()
544 defer m.mu.Unlock()
545 m.maxIter = maxIter
546}
547
548// MaxIterations returns the current default max iterations.
549func (m *Manager) MaxIterations() int {

Callers 2

Calls

no outgoing calls

Tested by 1