mirror of
https://github.com/saveweb/biliarchiver.git
synced 2024-09-19 11:05:28 -07:00
fix
This commit is contained in:
parent
c1e90cffc2
commit
b34d30b7b1
@ -22,7 +22,7 @@ from biliarchiver.version import BILI_ARCHIVER_VERSION
|
||||
|
||||
@asynccontextmanager
|
||||
async def lifespan(app: FastAPI):
|
||||
global pending_queue, other_queue, _source_action_cor_queue
|
||||
global pending_queue, other_queue
|
||||
pending_queue = BiliVideoQueue()
|
||||
other_queue = BiliVideoQueue(maxsize=250)
|
||||
print("Loading queue...")
|
||||
|
Loading…
Reference in New Issue
Block a user