MaxIterations returns the current default max iterations.
()
| 547 | |
| 548 | // MaxIterations returns the current default max iterations. |
| 549 | func (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. |
| 556 | func (m *Manager) SetMaxIterationsForInstance(name string, maxIter int) error { |
no outgoing calls