Merge lp://staging/~sidnei/txstatsd/add-rate-limit into lp://staging/~txstatsd-dev/txstatsd/distinct-plugin

Proposed by Sidnei da Silva
Status: Merged
Approved by: Sidnei da Silva
Approved revision: 15
Merged at revision: 16
Proposed branch: lp://staging/~sidnei/txstatsd/add-rate-limit
Merge into: lp://staging/~txstatsd-dev/txstatsd/distinct-plugin
Diff against target: 510 lines (+212/-55)
10 files modified
.bzrignore (+3/-0)
Makefile (+11/-9)
bin/start-database.sh (+12/-8)
bin/start-redis.sh (+1/-2)
bin/stop-database.sh (+11/-8)
bin/stop-redis.sh (+2/-2)
distinctdb/distinctmetric.py (+23/-14)
distinctdb/ratelimit.py (+49/-0)
distinctdb/tests/test_distinct.py (+21/-12)
distinctdb/tests/test_ratelimit.py (+79/-0)
To merge this branch: bzr merge lp://staging/~sidnei/txstatsd/add-rate-limit
Reviewer Review Type Date Requested Status
Lucio Torre (community) Approve
Review via email: mp+197457@code.staging.launchpad.net

Commit message

Add a simple rate limit implementation to keep rate-limiting stats in redis.

Description of the change

Add a simple rate limit implementation to keep rate-limiting stats in redis.

To post a comment you must log in.
Revision history for this message
Lucio Torre (lucio.torre) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches