mirror of
https://github.com/System-End/highway.git
synced 2026-04-19 22:05:13 +00:00
Further configs for good_job
This commit is contained in:
parent
a005d3666d
commit
b8c08871aa
1 changed files with 6 additions and 1 deletions
|
|
@ -1,5 +1,10 @@
|
|||
Rails.application.configure do
|
||||
config.active_job.queue_adapter = :good_job
|
||||
config.good_job.preserve_job_records = true
|
||||
config.good_job.max_threads = 1
|
||||
config.good_job.cleanup_preserved_jobs_before_seconds_ago = 60 * 60 * 24 * 7
|
||||
config.good_job.cleanup_interval_jobs = 1000
|
||||
config.good_job.cleanup_interval_seconds = 3600
|
||||
|
||||
config.good_job.enable_cron = true
|
||||
config.good_job.execution_mode = :async
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue