wip: 切片上传、文件秒传、断点续传陆续适配中当前进度(本地存储已适配)

This commit is contained in:
Lan
2025-02-23 20:49:51 +08:00
parent 17331112b4
commit fdada809d9
30 changed files with 622 additions and 178 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
# @File : tasks.py
# @Software: PyCharm
import asyncio
import logging
import os
from tortoise.expressions import Q
@@ -32,6 +33,6 @@ async def delete_expire_files():
await file_storage.delete_file(exp)
await exp.delete()
except Exception as e:
print(e)
logging.error(e)
finally:
await asyncio.sleep(600)