templates/openshift: split worker from composer maintenance

This commit is contained in:
Sanne Raymaekers 2024-04-24 13:36:10 +02:00
parent 3827f710de
commit 5a776c5b79
3 changed files with 162 additions and 2 deletions

View file

@ -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)