RubyFlow The Ruby and Rails community linklog

resque-restriction

I have posted a resque plugin, resque-restriction. It will limit the execution number of certain jobs in a period time and execute the exceeded jobs at the next period. It is especially useful when a system has an email invitation resque job, because sending emails too frequently will be treated as a spam. For example, resque-restriction can restrict the email invitation job not execute more than 1000 times per day, 100 times per hour and 30 times per 300 seconds.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in