added changeset

Signed-off-by: Hao Luo <howlowck@gmail.com>
This commit is contained in:
Hao Luo
2022-10-04 00:39:44 -05:00
parent 92cd574898
commit b32005e98a
+21
View File
@@ -0,0 +1,21 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
Added optional "concurrentTasksLimit" option to TaskWorker
TaskWorker can now run multiple (defaults to 10) tasks concurrently.
To use the option, in `createRouter`:
```diff
const worker = await TaskWorker.create({
taskBroker,
actionRegistry,
integrations,
logger,
workingDirectory,
additionalTemplateFilters,
+ concurrentTasksLimit: 10 // (1 to Infinity)
});
```