Skip to content

Commit

Permalink
Added sidekiq
Browse files Browse the repository at this point in the history
  • Loading branch information
strtwtsn committed Aug 18, 2016
1 parent e5094ac commit 39678f3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ require 'capistrano/rails/assets'
require 'capistrano/rails/migrations'
require 'capistrano/passenger'
require 'capistrano/npm'
require 'capistrano/sidekiq'




# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ group :development do
gem 'capistrano-rvm', '~> 0.1', require: false
gem 'capistrano-passenger', '~> 0.2.0', require: false
gem 'capistrano-npm', '~> 1.0.2'
gem 'capistrano-sidekiq', require: false

# Emails
gem 'letter_opener'
Expand Down
7 changes: 7 additions & 0 deletions config/sidekiq.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
:pidfile: tmp/pids/sidekiq.pid
staging:
:concurrency: 2
production:
:concurrency: 10

0 comments on commit 39678f3

Please sign in to comment.