Skip to content

Commit

Permalink
fix: update docs for incr_and_sum behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
gdvalle committed Apr 16, 2018
1 parent bbc3299 commit 8528e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dramatiq/rate_limits/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def decr(self, key, amount, minimum, ttl): # pragma: no cover
raise NotImplementedError

def incr_and_sum(self, key, keys, amount, maximum, ttl): # pragma: no cover
"""Atomically increment a key and return the sum of a set of
keys, unless the sum is greater than the given maximum.
"""Atomically increment a key unless the sum of keys is greater
than the given maximum.
Parameters:
key(str): The key to increment.
Expand Down

0 comments on commit 8528e4c

Please sign in to comment.