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