Skip to content

Commit fd7dedd

Browse files
committed
Do not preserve succeeded jobs
1 parent 889fe60 commit fd7dedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/application.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Application < Rails::Application
3737

3838
config.good_job.enable_cron = true
3939
config.good_job.smaller_number_is_higher_priority = true
40-
config.good_job.cleanup_preserved_jobs_before_seconds_ago = 1.days
40+
config.good_job.cleanup_preserved_jobs_before_seconds_ago = 0.minutes
4141
config.good_job.cleanup_discarded_jobs = false
4242

4343
if ENV['AUTO_SYNC_BOXES'] == "ON"

0 commit comments

Comments
 (0)