Set rate-limit remaining number for all sources using Rails cache #300

Closed
mfenner opened this Issue May 3, 2015 · 0 comments

Projects

None yet

1 participant

@mfenner
Member
mfenner commented May 3, 2015

This makes it easier to track the rate-limiting status of sources, in particular when using multiple workers in parallel.

@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner show rate-limit reset value. #300 41ae075
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner support rate-limit-reset headers. #300 e92f139
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner don't parse rate-limit-reset. #300 e862b54
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner format rate-limit-reset. #300 acf69f9
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner small syntax change for rate_limit_remaing. #300 3fceec1
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner reset rate_limit_renaming every hour. #300 17155b3
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner compare times for rate_limit_remaining. #300 61eada5
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner don't wait longer than 5 sec for rate-limiting. #300 2d68211
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner added custom error for rate-lmiting errors. #300 628c5ae
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner show wait time as integer. #300 cc0cea9
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner use common namespace for custom errors. #300 c481f20
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner retry after 5 min if rate-limiting reached. #300 9931d5b
@mfenner mfenner pushed a commit that referenced this issue May 4, 2015
Martin Fenner don't save TooManyRequestsError. #300 9c4643b
@mfenner mfenner closed this in 3aa6706 May 5, 2015
@mfenner mfenner pushed a commit that referenced this issue May 6, 2015
Martin Fenner ignore some alerts raised by sidekiq. #300 75a22a1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment