diff --git a/.changeset/young-falcons-sleep.md b/.changeset/young-falcons-sleep.md new file mode 100644 index 0000000000..d7bcef96e6 --- /dev/null +++ b/.changeset/young-falcons-sleep.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-scaffolder-backend': patch +--- + +The number of task workers used to execute templates now default to 3, rather than 1. diff --git a/plugins/scaffolder-backend/src/service/router.ts b/plugins/scaffolder-backend/src/service/router.ts index 040af546f1..f8e24d1acf 100644 --- a/plugins/scaffolder-backend/src/service/router.ts +++ b/plugins/scaffolder-backend/src/service/router.ts @@ -178,7 +178,7 @@ export async function createRouter( const actionRegistry = new TemplateActionRegistry(); const workers = []; - for (let i = 0; i < (taskWorkers || 1); i++) { + for (let i = 0; i < (taskWorkers || 3); i++) { const worker = await TaskWorker.create({ taskBroker, actionRegistry,