From e6255deb24065424d946c74169de3611bc581bf7 Mon Sep 17 00:00:00 2001 From: yzqzss Date: Mon, 30 Oct 2023 23:47:21 +0800 Subject: [PATCH] change: other_queue: maxsize 0 => 250 --- biliarchiver/rest_api/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biliarchiver/rest_api/main.py b/biliarchiver/rest_api/main.py index a01dfd3..b072462 100644 --- a/biliarchiver/rest_api/main.py +++ b/biliarchiver/rest_api/main.py @@ -45,7 +45,7 @@ class BiliQueue(Queue): await self.put(ori_video) pending_queue = BiliQueue() -other_queue = BiliQueue() +other_queue = BiliQueue(maxsize=250) app = FastAPI(lifespan=lifespan)