Skip to content

Commit

Permalink
delete restart jobs after an hour
Browse files Browse the repository at this point in the history
  • Loading branch information
v1nsai committed Dec 17, 2024
1 parent a731125 commit ca1f935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/services/torrents/app/restart-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ spec:
schedule: "0 * * * *" # Run every hour
jobTemplate:
spec:
ttlSecondsAfterFinished: 3599 # Delete the job after 59 minutes
template:
spec:
containers:
Expand Down

0 comments on commit ca1f935

Please sign in to comment.