Skip to content

Commit

Permalink
Merge pull request #356 from sul-dlss/resque_deploy
Browse files Browse the repository at this point in the history
Add deploy hooks for resque-pool
  • Loading branch information
jmartin-sul committed Sep 26, 2018
2 parents b895c9c + 630a2dc commit f71b5ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@
# update shared_configs before restarting app
before 'deploy:restart', 'shared_configs:update'

# Resque pool
before 'deploy:migrate', 'resque:pool:stop'
after 'deploy:restart', 'resque:pool:start'

set :honeybadger_env, fetch(:stage)

0 comments on commit f71b5ff

Please sign in to comment.