SetRetryConfig updates the retry configuration.
(config RetryConfig)
| 568 | |
| 569 | // SetRetryConfig updates the retry configuration. |
| 570 | func (l *Loop) SetRetryConfig(config RetryConfig) { |
| 571 | l.mu.Lock() |
| 572 | defer l.mu.Unlock() |
| 573 | l.retryConfig = config |
| 574 | } |
| 575 | |
| 576 | // DisableRetry disables automatic retry on crash. |
| 577 | func (l *Loop) DisableRetry() { |
no outgoing calls