diff --git a/llm_server/routes/queue.py b/llm_server/routes/queue.py index a8a47b1..8b8b85f 100644 --- a/llm_server/routes/queue.py +++ b/llm_server/routes/queue.py @@ -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)