option to set global shm_size

This commit is contained in:
Brad Rydzewski
2020-04-15 13:00:56 -04:00
parent db5468f23b
commit 80c26bc5d9
6 changed files with 17 additions and 3 deletions

View File

@@ -76,6 +76,7 @@ type Config struct {
CPUPeriod int64 `envconfig:"DRONE_CPU_PERIOD"`
CPUShares int64 `envconfig:"DRONE_CPU_SHARES"`
CPUSet []string `envconfig:"DRONE_CPU_SET"`
ShmSize int64 `envconfig:"DRONE_SHM_SIZE"`
}
Environ struct {