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:
songtianlun 2025-01-22 17:08:46 +08:00
parent b5c40f2e13
commit fd910fb469

View File

@ -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