Skip to content

Commit d68482d

Browse files
authored
fix(fargate): start workers in parallel with lead task (#2459)
This reverts the behavior introduced in [1] where worker tasks may wait for up to 60s whilst the lead task is preparing npm dependencies. The only benefit of waiting is to save up to 60s worth of Fargate compute costs for tests where the lead task fails to startup. This is rare. Every test pays a penalty of having to wait for some time for the lead task to be ready before the rest of the workers even begin initializing however. 1. #2428
1 parent efe1a6e commit d68482d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/artillery/lib/platform/aws-ecs/legacy/run-cluster.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,8 +1538,6 @@ async function launchLeadTask(context) {
15381538
throw runErr;
15391539
}
15401540

1541-
await awaitOnEE(context.reporterEvents, 'prepack_end', 1000 * 60 * 1);
1542-
15431541
return context;
15441542
}
15451543

0 commit comments

Comments
 (0)