Timers 1.7.1: a failed LTC capture spawn retries instead of parking #45
@@ -162,7 +162,14 @@ function createLtcListener({ device, channel, moduleDir, log, onUpdate }) {
|
||||
});
|
||||
|
||||
child.on('error', (err) => {
|
||||
// A spawn that fails (EACCES on a helper that lost its execute bit,
|
||||
// ENOENT) emits 'error' with no 'exit' to follow. Leaving `child` set
|
||||
// would let the eval loop report "No signal" over a dead child forever
|
||||
// and nothing would ever retry — what parked LTC on AB on 2026-10-04.
|
||||
// Null it and retry on the slow timer, the way spl-listener does.
|
||||
report({ error: TOOL_MISSING, detail: `LTC capture failed to start: ${err.message}` });
|
||||
child = null;
|
||||
scheduleRestart(BAD_CONFIG_RETRY_MS);
|
||||
});
|
||||
|
||||
child.on('exit', (code) => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "propresenter-timers",
|
||||
"name": "Timers",
|
||||
"version": "1.7.0",
|
||||
"version": "1.7.1",
|
||||
"proddash": ">=1.4.0",
|
||||
"description": "Timers, Clocks, and LTC From configured Modules",
|
||||
"provides": [
|
||||
|
||||
Reference in New Issue
Block a user