Skip to content

Commit

Permalink
Remove demo CleanupJob in favor of using built-in cleanup intervals (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon authored Jan 3, 2022
1 parent 9325b5b commit bf5d512
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
7 changes: 0 additions & 7 deletions spec/test_app/app/jobs/cleanup_job.rb

This file was deleted.

5 changes: 0 additions & 5 deletions spec/test_app/config/initializers/good_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@
class: "OtherJob",
set: { queue: :default },
},
cleanup: {
description: "Delete old jobs.",
cron: "*/15 * * * *",
class: "CleanupJob",
},
}
end
when 'production'
Expand Down

0 comments on commit bf5d512

Please sign in to comment.