This commit is contained in:
parent
27e461c76b
commit
19e62be3e8
|
@ -52,6 +52,7 @@ class RedisPriorityQueue:
|
|||
|
||||
def print_all_items(self):
|
||||
items = self.redis.zrange('queue', 0, -1)
|
||||
print(items)
|
||||
for item in items:
|
||||
print(item.decode('utf-8'))
|
||||
|
||||
|
|
Reference in New Issue