capistrano: add deploy:rolling task (fix #4123).

This commit is contained in:
evazion
2019-08-07 22:11:07 -05:00
parent 223e5f1e81
commit c225d54de1
4 changed files with 35 additions and 7 deletions

View File

@@ -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