MaxIterations returns the current max iterations limit.
()
| 561 | |
| 562 | // MaxIterations returns the current max iterations limit. |
| 563 | func (l *Loop) MaxIterations() int { |
| 564 | l.mu.Lock() |
| 565 | defer l.mu.Unlock() |
| 566 | return l.maxIter |
| 567 | } |
| 568 | |
| 569 | // SetRetryConfig updates the retry configuration. |
| 570 | func (l *Loop) SetRetryConfig(config RetryConfig) { |
no outgoing calls