Skip to content

Commit 3ec4cde

Browse files
committed
chore: Reduce stale lock timeout from 10 minutes to 2 minutes
1 parent b964d59 commit 3ec4cde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export class FileLock {
185185
private held = false;
186186

187187
/** Locks older than this are considered stale regardless of PID status */
188-
private static readonly STALE_TIMEOUT_MS = 10 * 60 * 1000; // 10 minutes
188+
private static readonly STALE_TIMEOUT_MS = 2 * 60 * 1000; // 2 minutes
189189

190190
constructor(lockPath: string) {
191191
this.lockPath = lockPath;

0 commit comments

Comments
 (0)