SetMaxIterations updates the default max iterations for new loops.
(maxIter int)
| 540 | |
| 541 | // SetMaxIterations updates the default max iterations for new loops. |
| 542 | func (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. |
| 549 | func (m *Manager) MaxIterations() int { |
no outgoing calls