templates/openshift: split worker from composer maintenance
This commit is contained in:
parent
3827f710de
commit
5a776c5b79
3 changed files with 162 additions and 2 deletions
|
|
@ -16,7 +16,12 @@ func main() {
|
|||
cutoff := time.Now().Add(-(time.Hour * 24 * 14))
|
||||
logrus.Infof("Cutoff date: %v", cutoff)
|
||||
|
||||
var conf Config
|
||||
conf := Config{
|
||||
MaxConcurrentRequests: 20,
|
||||
EnableDBMaintenance: false,
|
||||
EnableGCPMaintenance: false,
|
||||
EnableAWSMaintenance: false,
|
||||
}
|
||||
err := LoadConfigFromEnv(&conf)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue