scaffolder-backend: make concurrentTasksLimit configurable via static config

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-08-15 16:11:05 +02:00
parent e07a4914f6
commit 88bc6e27a2
3 changed files with 32 additions and 14 deletions
+9
View File
@@ -28,5 +28,14 @@ export interface Config {
* The commit message used when new components are created.
*/
defaultCommitMessage?: string;
/**
* Sets the number of concurrent tasks that can be run at any given time on the TaskWorker.
*
* Defaults to 10.
*
* Set to 0 to disable task workers altogether.
*/
concurrentTasksLimit?: number;
};
}