mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
![Mike Perham](/assets/img/avatar_default.png)
* Initial work on Sidekiq::Config * Initial work on Sidekiq::Config * reduce dependencies in deploy marks * bare sidekiq and webapp * Modify runtime to work with Capsules * Cleanup * Rename test files to remove test_ prefix * Update test suite and standard rules to be more compliant * Move constant definition outside code, per standard formatting * Loads of changes for introduction of Capsules * Remove Redis adapter abstraction * update capsule overview * Ensure Sidekiq.redis uses the correct pool for jobs running within a Capsule * Use default_capsule for safety * Slow down the beat to halve its Redis overhead * move config fixtures into cfg/ * Add capsule middleware test * use accessor
7 lines
170 B
Ruby
7 lines
170 B
Ruby
Sidekiq.configure_server do |config|
|
|
config.redis = {db: 14}
|
|
config.capsule("single") do |cap|
|
|
cap.concurrency = 1
|
|
cap.queues = %w[single_threaded]
|
|
end
|
|
end
|