| 12 | ) |
| 13 | |
| 14 | type Loop struct { |
| 15 | statusManager *loopstate.State |
| 16 | state *state.State |
| 17 | // Other objects |
| 18 | logger Logger |
| 19 | // Internal channels and locks |
| 20 | running chan models.LoopStatus |
| 21 | stop, stopped chan struct{} |
| 22 | start chan struct{} |
| 23 | userTrigger bool |
| 24 | backoffTime time.Duration |
| 25 | } |
| 26 | |
| 27 | const defaultBackoffTime = 10 * time.Second |
| 28 |
nothing calls this directly
no outgoing calls
no test coverage detected