()
| 4185 | } |
| 4186 | |
| 4187 | function startRemoteExecutionIdleTimer() { |
| 4188 | if (remoteExecutionIdleTimer) return; |
| 4189 | remoteExecutionIdleTimer = setInterval(() => { |
| 4190 | expireRemoteExecutionIfIdle({ notify: true }).catch((error) => { |
| 4191 | state.maintenance.codex.lastError = `Remote execution idle timer failed: ${error.message}`; |
| 4192 | }); |
| 4193 | }, 30 * 1000); |
| 4194 | } |
| 4195 | |
| 4196 | function stopRemoteExecutionIdleTimer() { |
| 4197 | if (remoteExecutionIdleTimer) clearInterval(remoteExecutionIdleTimer); |
no test coverage detected