()
| 2349 | } |
| 2350 | |
| 2351 | func (m *model) scheduleConnectionPromotion() { |
| 2352 | // Keeps deferring to prevent multiple executions in quick succession, |
| 2353 | // e.g. if multiple connections to a single device are closed. |
| 2354 | m.promotionTimer.Reset(time.Second) |
| 2355 | } |
| 2356 | |
| 2357 | // promoteConnections checks for devices that have connections, but where |
| 2358 | // the primary connection hasn't started index handlers etc. yet, and |
no test coverage detected