fixes
parent
e59c0947d4
commit
16a2bd85c6
|
@ -5771,7 +5771,7 @@ class SharedWorkspaceLocking {
|
||||||
for (const element of workspaces) {
|
for (const element of workspaces) {
|
||||||
yield new Promise((promise) => setTimeout(promise, 1000));
|
yield new Promise((promise) => setTimeout(promise, 1000));
|
||||||
const lockResult = yield SharedWorkspaceLocking.LockWorkspace(element, runId, buildParametersContext);
|
const lockResult = yield SharedWorkspaceLocking.LockWorkspace(element, runId, buildParametersContext);
|
||||||
cloud_runner_logger_1.default.log(`run agent: ${runId} try lock workspace: ${element} result: ${lockResult}`);
|
cloud_runner_logger_1.default.log(`run agent: ${runId} try lock workspace: ${element} locking attempt result: ${lockResult}`);
|
||||||
if (lockResult) {
|
if (lockResult) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -60,7 +60,9 @@ export class SharedWorkspaceLocking {
|
||||||
for (const element of workspaces) {
|
for (const element of workspaces) {
|
||||||
await new Promise((promise) => setTimeout(promise, 1000));
|
await new Promise((promise) => setTimeout(promise, 1000));
|
||||||
const lockResult = await SharedWorkspaceLocking.LockWorkspace(element, runId, buildParametersContext);
|
const lockResult = await SharedWorkspaceLocking.LockWorkspace(element, runId, buildParametersContext);
|
||||||
CloudRunnerLogger.log(`run agent: ${runId} try lock workspace: ${element} result: ${lockResult}`);
|
CloudRunnerLogger.log(
|
||||||
|
`run agent: ${runId} try lock workspace: ${element} locking attempt result: ${lockResult}`,
|
||||||
|
);
|
||||||
|
|
||||||
if (lockResult) {
|
if (lockResult) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue