Commit 94beede8 by liyijie

feat: update sidekiq.yml error

parent 56821d8a
...@@ -2,4 +2,6 @@ class ApplicationController < ActionController::API ...@@ -2,4 +2,6 @@ class ApplicationController < ActionController::API
include ActionController::Helpers include ActionController::Helpers
include ActionController::RailsCom include ActionController::RailsCom
include ActionController::Caching include ActionController::Caching
include RailsData::Controller::Importable
include RailsData::Controller::Exportable
end end
...@@ -4,12 +4,13 @@ ...@@ -4,12 +4,13 @@
:queues: :queues:
- default - default
:max_retries: 2 :max_retries: 2
:schedule: :scheduler:
# task_scheduler_reptile: :schedule:
# cron: '30 0 * * *' # 每天 # task_scheduler_reptile:
# class: TaskSchedulerReptile # cron: '30 0 * * *' # 每天
# description: '爬取新闻和轮播图' # class: TaskSchedulerReptile
# announcement_scheduler: # description: '爬取新闻和轮播图'
# cron: '0 */1 * * *' # 每1小时 # announcement_scheduler:
# class: 'AnnouncementScheduler' # cron: '0 */1 * * *' # 每1小时
# description: '获取通知公告' # class: 'AnnouncementScheduler'
# description: '获取通知公告'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment