songtianlun
08c584b85b
- 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.
10 lines
165 B
YAML
10 lines
165 B
YAML
:schedule:
|
|
sample_job:
|
|
cron: '0 * * * *' # 每小时执行
|
|
class: BatchGenerateWeatherArtsWorker
|
|
|
|
:concurrency: 5
|
|
:queues:
|
|
- default
|
|
- mailers
|
|
- low |