Sha256: 6534a7e8a5d8696664e5249780a5a68758b5f35c14fc2e5a38411a77888b0326
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
# Sidekiq::Pool Allows Sidekiq using more CPU cores on Ruby MRI by forking multiple processes. Also adds an option to use different command line option workers in the same pool. ## Installation Add this line to your application's Gemfile: ```ruby gem 'sidekiq-pool' ``` Create a config file and specify it's path with the *p* command line option (the default is config/sidekiq-pool.yml) Paste the following config and modify it to your needs: ```yaml :workers: - :command: '-q default -q high' :amount: 2 - :command: '-q high -L high_logfile.txt' :amount: 1 ``` ## Usage Help $ bundle exec sidekiq-pool -h Start pool with a non-default path config $ bundle exec sidekiq-pool -p config/pool_config.yml ## Signals Signals `USR1`, `USR2` are forwarded to the children. ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/laurynas/sidekiq-pool. ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-pool-1.0.2 | README.md |
sidekiq-pool-1.0.1 | README.md |
sidekiq-pool-1.0.0 | README.md |