Skip to content

crazymykl/resque-pool-lifeguard

Repository files navigation

Resque::Pool::Lifeguard Build Status Dependency Status Code Climate Test Coverage

Resque pool is a great way to manage a set of resque workers. However, sometimes one wants to spin up a bunch of workers temporarily, or to conserve resources during times of heavy load.

Installation

Add this line to your application's Gemfile:

gem 'resque-pool-lifeguard'

And then execute:

$ bundle

Or install it yourself as:

$ gem install resque-pool-lifeguard

Usage

Add require 'resque/pool/lifeguard/tasks' to your Rakefile (as well as the existing resque-pool config).

Add require 'resque/pool/lifeguard/server' to where you mount your resque-web GUI.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/crazymykl/resque-pool-lifeguard. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

A plugin allowing live management of resque-pool.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published