Merge cluster to master #3

Merged
cyberes merged 163 commits from cluster into master 2023-10-27 19:19:22 -06:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 7e3af3599d - Show all commits

View File

@ -62,6 +62,8 @@ class RedisPriorityQueue:
return self.redis.zcard('queue')
def len(self, model_name):
print(self.redis.zrange('queue', 0, -1))
count = 0
for key in self.redis.zrange('queue', 0, -1):
item = json.loads(key)