From 7e3af3599d76cf8f317e1525d4bea9df3e327340 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Wed, 4 Oct 2023 10:29:58 -0600 Subject: [PATCH] test --- llm_server/routes/queue.py | 2 ++ 1 file changed, 2 insertions(+) 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)