botmux-workflow-core 3.18.13 → 3.18.14

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.
@@ -2088,7 +2088,7 @@ function withFileLockSync(targetPath, fn, opts = {}) {
2088
2088
  continue;
2089
2089
  }
2090
2090
  }
2091
- if (Date.now() - start > maxWaitMs) {
2091
+ if (Date.now() - start >= maxWaitMs) {
2092
2092
  throw new FileLockTimeoutError(lockPath, holder?.pid, lockAgeMs);
2093
2093
  }
2094
2094
  sleepSync(RETRY_BASE_MS + Math.random() * RETRY_BASE_MS);