today_ai_weather/config/sidekiq.yml
songtianlun 08c584b85b chore: rename job classes and update Sidekiq config
- Renamed `BatchGenerateWeatherArtsJob` to `BatchGenerateWeatherArtsWorker`
- Renamed `GenerateWeatherArtJob` to `GenerateWeatherArtWorker`
- Updated Sidekiq configuration to set Redis URL and logger level
- Modified `sidekiq.yml` to use the new worker class names and added queue configurations

These changes help in aligning the class names with their purpose as
workers in Sidekiq, while also ensuring better configuration for
Redis and logging.
2025-01-22 18:47:41 +08:00

10 lines
165 B
YAML

:schedule:
sample_job:
cron: '0 * * * *' # 每小时执行
class: BatchGenerateWeatherArtsWorker
:concurrency: 5
:queues:
- default
- mailers
- low