pull/496/head
Frostebite 2023-02-16 19:52:28 +00:00
parent e59c0947d4
commit 16a2bd85c6
3 changed files with 5 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -5771,7 +5771,7 @@ class SharedWorkspaceLocking {
for (const element of workspaces) {
yield new Promise((promise) => setTimeout(promise, 1000));
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) {
return true;
}

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -60,7 +60,9 @@ export class SharedWorkspaceLocking {
for (const element of workspaces) {
await new Promise((promise) => setTimeout(promise, 1000));
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) {
return true;