Merge cluster to master #3
|
@ -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