mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-03 05:19:21 +00:00
test(management): cover plugin layout sync lock
This commit is contained in:
1 parent
36e8ed5d87
commit
fab05011f1
2 files changed
+97
-1
No files matched your search
@@ -234,7 +234,9 @@ class ProfileContextSyncLock {
|
||||
|
||||
const until = Date.now() + retryDelayMs;
|
||||
while (Date.now() < until) {
|
||||
// Busy wait only during rare lock contention.
|
||||
// Sync callers need a synchronous retry path here.
|
||||
// This lock only guards short local filesystem normalization work, so
|
||||
// contention should be brief and limited to profile/bootstrap edges.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user