DRONE_CLEANUP_DEADLINE_RUNNING

Optional duration value. Configures the interval after which a running job will be killed by the reaper. The default value is 24 hours.

Kill running jobs older than 24 hours:

DRONE_CLEANUP_DEADLINE_RUNNING=24h