We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d201d8 commit 03f57c1Copy full SHA for 03f57c1
internal-packages/run-engine/src/engine/locking.ts
@@ -216,7 +216,7 @@ export class RunLocker {
216
let lock: redlock.Lock | undefined;
217
let lastError: Error | undefined;
218
219
- for (let attempt = 0; attempt <= maxAttempts; attempt++) {
+ for (let attempt = 0; attempt < maxAttempts; attempt++) {
220
const [error, acquiredLock] = await tryCatch(this.redlock.acquire(sortedResources, duration));
221
222
if (!error && acquiredLock) {
0 commit comments