capistrano: add deploy:rolling task (fix #4123).
This commit is contained in:
@@ -12,3 +12,6 @@ set :conditionally_migrate, true
|
||||
|
||||
# run migrations on the primary app server
|
||||
set :migration_role, :app
|
||||
|
||||
# how long unicorn:legacy_restart (used by deploy:rolling) waits until killing the old unicorn.
|
||||
set :unicorn_restart_sleep_time, 10
|
||||
|
||||
Reference in New Issue
Block a user