Skip to content

Commit

Permalink
don't sleep after putting back the hash. maybe in another PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
willgraf committed Mar 20, 2020
1 parent 4e62c9e commit f551d36
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion redis_consumer/consumers/base_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ def consume(self):
# this key is not done yet.
# remove it from processing and push it back to the work queue.
self._put_back_hash(redis_hash)
time.sleep(.5)

else: # queue is empty
self.logger.debug('Queue `%s` is empty. Waiting for %s seconds.',
Expand Down

0 comments on commit f551d36

Please sign in to comment.