Merge "Clarify code comment in Redis backend"

This commit is contained in:
Jenkins 2015-06-04 09:57:07 +00:00 committed by Gerrit Code Review
commit 2c1e938037

View File

@ -236,7 +236,7 @@ class MessageController(storage.Message, scripting.Mixin):
client = self._client
if not marker and not include_claimed:
# NOTE(kgriffs): Skip unclaimed messages at the head
# NOTE(kgriffs): Skip claimed messages at the head
# of the queue; otherwise we would just filter them all
# out and likely end up with an empty list to return.
marker = self._find_first_unclaimed(queue, project, limit)