Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rails-api-with-engine-template
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
rails-api-with-engine-template
Commits
94beede8
Commit
94beede8
authored
Mar 31, 2023
by
liyijie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update sidekiq.yml error
parent
56821d8a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
application_controller.rb
src/app/controllers/application_controller.rb
+2
-0
sidekiq.yml
src/config/sidekiq.yml
+10
-9
No files found.
src/app/controllers/application_controller.rb
View file @
94beede8
...
...
@@ -2,4 +2,6 @@ class ApplicationController < ActionController::API
include
ActionController
::
Helpers
include
ActionController
::
RailsCom
include
ActionController
::
Caching
include
RailsData
::
Controller
::
Importable
include
RailsData
::
Controller
::
Exportable
end
src/config/sidekiq.yml
View file @
94beede8
...
...
@@ -4,12 +4,13 @@
:queues
:
-
default
:max_retries
:
2
:schedule
:
# task_scheduler_reptile:
# cron: '30 0 * * *' # 每天
# class: TaskSchedulerReptile
# description: '爬取新闻和轮播图'
# announcement_scheduler:
# cron: '0 */1 * * *' # 每1小时
# class: 'AnnouncementScheduler'
# description: '获取通知公告'
:scheduler
:
:schedule
:
# task_scheduler_reptile:
# cron: '30 0 * * *' # 每天
# class: TaskSchedulerReptile
# description: '爬取新闻和轮播图'
# announcement_scheduler:
# cron: '0 */1 * * *' # 每1小时
# class: 'AnnouncementScheduler'
# description: '获取通知公告'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment