Skip to content

Commit

Permalink
testing a sidekiq config
Browse files Browse the repository at this point in the history
  • Loading branch information
JuddL333 committed Jan 19, 2013
1 parent e2de095 commit 74eff36
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions config/sidekiq.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require 'sidekiq'

Sidekiq.configure_client do |config|
config.redis = { :size => 1 }
end

Sidekiq.configure_server do |config|
# The config.redis is calculated by the
# concurrency value so you do not need to
# specify this. For this demo I do
# show it to understand the numbers
# config.redis = { :size => 9 }
end
3 changes: 2 additions & 1 deletion config/sidekq.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
:namespace 'vegastech_bulletin_board'
:namespace 'vegastech_bulletin_board'
:concurrency: 3

0 comments on commit 74eff36

Please sign in to comment.