build queue rate limiting: address PR comments

This commit is contained in:
Jimmy Zelinskie 2016-12-06 20:40:54 -05:00
parent eb69abff8b
commit c41de8ded6
4 changed files with 12 additions and 7 deletions

View file

@ -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,