Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
app_push
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_server
app_push
Commits
78046e12
Commit
78046e12
authored
Apr 21, 2020
by
liangyuzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
使用god
parent
19978f5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
config/deploy.rb
+9
-9
No files found.
config/deploy.rb
View file @
78046e12
...
...
@@ -69,15 +69,15 @@ namespace :deploy do
end
end
#
desc 'Restart application'
#
task :restart do
#
on roles(:app), in: :sequence, wait: 5 do
#
# invoke 'sidekiq:god_restart'
#
puts "restart sidekiq."
#
invoke 'sidekiq:restart'
#
sleep 10
#
end
#
end
desc
'Restart application'
task
:restart
do
on
roles
(
:app
),
in: :sequence
,
wait:
5
do
# invoke 'sidekiq:god_restart'
puts
"restart sidekiq."
invoke
'sidekiq:restart'
sleep
10
end
end
before
:starting
,
:check_revision
after
:finishing
,
:compile_assets
after
:finishing
,
:restart
...
...
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