build queue rate limiting: address PR comments
This commit is contained in:
parent
eb69abff8b
commit
c41de8ded6
4 changed files with 12 additions and 7 deletions
|
@ -79,7 +79,7 @@ class WorkQueue(object):
|
|||
|
||||
def num_available_jobs_between(self, available_min_time, available_max_time, prefix):
|
||||
"""
|
||||
Returns the number of available queue items with a given prefix between the two provided times.
|
||||
Returns the number of available queue items with a given prefix, between the two provided times.
|
||||
"""
|
||||
prefix = prefix.lstrip('/')
|
||||
available = self._available_jobs(available_max_time,
|
||||
|
|
Reference in a new issue