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