mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
fix(config): default value for max tasks
This commit is contained in:
parent
70dd0554d8
commit
f4c882b879
@ -169,7 +169,7 @@ type ConfigType struct {
|
|||||||
OidcProviders map[string]OidcProvider `json:"oidc_providers"`
|
OidcProviders map[string]OidcProvider `json:"oidc_providers"`
|
||||||
|
|
||||||
// task concurrency
|
// task concurrency
|
||||||
MaxParallelTasks int `json:"max_parallel_tasks" rule:"^[0-9]{1,10}$" env:"SEMAPHORE_MAX_PARALLEL_TASKS"`
|
MaxParallelTasks int `json:"max_parallel_tasks" default:"10" rule:"^[0-9]{1,10}$" env:"SEMAPHORE_MAX_PARALLEL_TASKS"`
|
||||||
|
|
||||||
RunnerRegistrationToken string `json:"runner_registration_token" env:"SEMAPHORE_RUNNER_REGISTRATION_TOKEN"`
|
RunnerRegistrationToken string `json:"runner_registration_token" env:"SEMAPHORE_RUNNER_REGISTRATION_TOKEN"`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user