Not working #5

justinvj15 opened this Issue Aug 18, 2011 · 1 comment

2 participants


This doesn't seem to be working for me.I have installed this gem correctly.Readme says "Resque Restriction requires Resque 1.7.0." but i think the current version of resque gem is 1.17.1.

class FetchSources < Resque::Plugins::RestrictionJob
restrict :per_day => 100, :per_hour => 10, :per_minute => 3
queue = :fetch_sources
#rest of the stuff
This is my code.i can't see any restriction are get applied on fetch_sources queue when i run it.


mfo commented Nov 7, 2015


@mfo mfo closed this Nov 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment