We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ecfb9a commit 2c1246eCopy full SHA for 2c1246e
.changeset/major-weeks-sing.md
@@ -0,0 +1,5 @@
1
+---
2
+"@lingo.dev/compiler": patch
3
4
+
5
+Fixed metadata file lock contention errors (ELOCKED) during parallel builds by increasing lock retry count and timeouts
packages/new-compiler/src/metadata/manager.ts
@@ -168,11 +168,11 @@ export class MetadataManager {
168
169
const release = await lockfile.lock(this.filePath, {
170
retries: {
171
- retries: 10,
+ retries: 20,
172
minTimeout: 50,
173
- maxTimeout: 1000,
+ maxTimeout: 2000,
174
},
175
- stale: 2000,
+ stale: 5000,
176
});
177
178
try {
0 commit comments