diff --git a/server.env b/server.env index abea91f..8f996fc 100644 --- a/server.env +++ b/server.env @@ -31,6 +31,12 @@ DRONE_HTTP_STS_PRELOAD=true # Prometheus anonymous access DRONE_PROMETHEUS_ANONYMOUS_ACCESS=true +# Zombie build reaper interval (24h by default) +DRONE_CLEANUP_INTERVAL=60m +# reaper kills permanently (pending,running) stuck jobs +DRONE_CLEANUP_DISABLED=false +DRONE_CLEANUP_DEADLINE_RUNNING=8h + # Registration settings DRONE_OPEN=true DRONE_REGISTRATION_CLOSED=false