fix: update job scheduling interval
- Change job execution frequency from once every hour to every two hours. - Ensure the `BatchGenerateWeatherArtsJob` runs as intended without unnecessary frequency. This change addresses performance concerns by reducing the load on the system caused by frequent job executions.
This commit is contained in:
parent
b5c40f2e13
commit
fd910fb469
@ -16,8 +16,8 @@
|
||||
# every 4.days do
|
||||
# runner "AnotherModel.prune_old_records"
|
||||
# end
|
||||
every 1.hour do
|
||||
# runner "BatchGenerateWeatherArtsJob.perform_later"
|
||||
every 2.hour do
|
||||
runner "BatchGenerateWeatherArtsJob.perform_later"
|
||||
end
|
||||
|
||||
# Learn more: http://github.com/javan/whenever
|
||||
|
Loading…
Reference in New Issue
Block a user