fix: update generation interval for weather arts worker

- Change generation interval from 24 hours to 36 hours

This change provides more flexibility in scheduling weather arts generation, which could lead to better resource management or accommodate changes in data availability.
This commit is contained in:
songtianlun 2025-02-11 23:32:35 +08:00
parent d37d06c0d7
commit 92a5e4d3b0

View File

@ -1,6 +1,6 @@
class BatchGenerateWeatherArtsWorker
include Sidekiq::Worker
GENERATION_INTERVAL = 24.hours
GENERATION_INTERVAL = 36.hours
MAX_DURATION = 50.minutes
SLEEP_DURATION = 120.seconds
BATCH_SIZE = 20