ryansch-resque-loner

ryansch-resque-loner

Makes sure that for special jobs, there can be only one job with the same workload in one queue. Example: class CacheSweeper include Resque::Plugins::UniqueJob @queue = :cache_sweeps def self.perform(article_id) # Cache Me If You Can... end end

Rubygem ryansch-resque-loner

Total Downloads
1667
Releases
2
Current Version
1.0.1.2
Released
2011-11-08 08:00:00 UTC
First Release
2011-11-04 07:00:00 UTC
Depends on following gems
Depending Gems
0

Github ryansch/resque-loner

Watchers
1
Forks
0
Development activity
Inactive
Last commit
2011-11-08 23:09:51 UTC
First commit

Resources

There are no resources yet, be the first to submit one!

Comments

There are no comments yet, be the first to write one!

Post a comment

Markdown supported
or
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.