Skip to content

Commit d789800

Browse files
Merge pull request #266 from wttech/abort-race-condition-fix
Abort race condition fix
2 parents 43310dc + 5489ad1 commit d789800

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"search.exclude": {
3+
"**/aem/home": true,
4+
"**/node": true
5+
}
6+
}

ui.content.example/src/main/content/jcr_root/conf/acm/settings/script/manual/example/ACME-203_output-csv.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ boolean canRun() {
66
}
77

88
void describeRun() {
9-
inputs.integerNumber("count") { label = "Users to generate"; min = 1; value = 5000000 }
9+
inputs.integerNumber("count") { label = "Users to generate"; min = 1; value = 10000 }
1010
inputs.text("firstNames") { label = "First names"; description = "One first name per line"; value = "John\nJane\nJack\nAlice\nBob"}
1111
inputs.text("lastNames") { label = "Last names"; description = "One last name per line"; value = "Doe\nSmith\nBrown\nJohnson\nWhite" }
1212
}

ui.frontend/src/types/execution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function isExecutionNegative(status: ExecutionStatus | null | undefined):
3333
}
3434

3535
export function isExecutionPending(status: ExecutionStatus | null | undefined): boolean {
36-
return !!status && (status === ExecutionStatus.QUEUED || isExecutionActive(status));
36+
return !!status && (status === ExecutionStatus.QUEUED || status === ExecutionStatus.STOPPED || isExecutionActive(status));
3737
}
3838

3939
export function isExecutionActive(status: ExecutionStatus | null | undefined): boolean {

0 commit comments

Comments
 (0)