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

Method MaxIterations

internal/loop/manager.go:549–553  ·  view source on GitHub ↗

MaxIterations returns the current default max iterations.

()

Source from the content-addressed store, hash-verified

547
548// MaxIterations returns the current default max iterations.
549func (m *Manager) MaxIterations() int {
550 m.mu.RLock()
551 defer m.mu.RUnlock()
552 return m.maxIter
553}
554
555// SetMaxIterationsForInstance updates max iterations for a specific running loop.
556func (m *Manager) SetMaxIterationsForInstance(name string, maxIter int) error {

Callers 1

Calls

no outgoing calls

Tested by 1