GithubHelp home page GithubHelp logo

pavoni / resque-rate_limited_queue Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 4.0 64 KB

A Resque plugin gem which makes handling jobs that use rate limited apis easier

License: MIT License

Ruby 100.00%

resque-rate_limited_queue's People

Contributors

dominicsayers avatar pavoni avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

resque-rate_limited_queue's Issues

Allow gem to be required in an alternate way

Currently the gem must be required like this:

require 'resque/rate_limited_queue'

but developers might try to declare using the name of the gem in the normal way:

require 'resque-rate_limited_queue'

This can be enabled by adding a resque-rate_limited_queue.rb script in the lib folder that requires the other stuff.

Sensible default for RedisClassy.redis

At the moment, RedisClassy.redis must be explicitly assigned in the user's code. But this is a Resque plugin so it might be sensible to default RedisClassy.redis to Resque's own Redis instance.

e.g.

RedisClassy.redis ||= Resque.redis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.