@atolis-hq/wake 0.2.79 → 0.2.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1094,7 +1094,9 @@ export function createTickRunner(deps) {
|
|
|
1094
1094
|
return null;
|
|
1095
1095
|
}
|
|
1096
1096
|
async function runRunnerTick() {
|
|
1097
|
-
const lock = await acquireFileLock(deps.stateStore.paths.runnerLockFile
|
|
1097
|
+
const lock = await acquireFileLock(deps.stateStore.paths.runnerLockFile, {
|
|
1098
|
+
staleAfterMs: Math.min(runnerTimeoutMs(), 5 * 60 * 1000),
|
|
1099
|
+
});
|
|
1098
1100
|
if (!lock.acquired) {
|
|
1099
1101
|
return { status: 'locked' };
|
|
1100
1102
|
}
|
package/dist/src/version.js
CHANGED