mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-21 17:01:04 +01:00
feat: change env var name
This commit is contained in:
parent
59ef3f8a12
commit
c4f4ea29a2
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
export MAX_TASKS_PER_TEMPLATE=300
|
||||
export SEMAPHORE_MAX_TASKS_PER_TEMPLATE=300
|
||||
./semaphore server --config .dredd/config.json
|
@ -222,8 +222,8 @@ type ConfigType struct {
|
||||
// oidc settings
|
||||
OidcProviders map[string]OidcProvider `json:"oidc_providers"`
|
||||
|
||||
MaxTaskDurationSec int `json:"max_task_duration_sec" env:"MAX_TASK_DURATION_SEC"`
|
||||
MaxTasksPerTemplate int `json:"max_tasks_per_template" env:"MAX_TASKS_PER_TEMPLATE"`
|
||||
MaxTaskDurationSec int `json:"max_task_duration_sec" env:"SEMAPHORE_MAX_TASK_DURATION_SEC"`
|
||||
MaxTasksPerTemplate int `json:"max_tasks_per_template" env:"SEMAPHORE_MAX_TASKS_PER_TEMPLATE"`
|
||||
|
||||
// task concurrency
|
||||
MaxParallelTasks int `json:"max_parallel_tasks" default:"10" rule:"^[0-9]{1,10}$" env:"SEMAPHORE_MAX_PARALLEL_TASKS"`
|
||||
|
Loading…
Reference in New Issue
Block a user