⚡ perf(webdav): 偏移写入分片并取消整文件落盘合并
This commit is contained in:
1 parent
6d825e5fbc
commit
32298bfdeb
12 files changed
+690
-53
No files matched your search
@@ -39,6 +39,7 @@ from core.tasks import (
|
||||
delete_expire_files,
|
||||
)
|
||||
from core.version import APP_VERSION
|
||||
from apps.base.upload_sessions import shutdown_completions
|
||||
|
||||
|
||||
def normalize_public_flag(value) -> int:
|
||||
@@ -750,6 +751,7 @@ async def lifespan(app: FastAPI):
|
||||
presign_cleanup_task,
|
||||
return_exceptions=True,
|
||||
)
|
||||
await shutdown_completions()
|
||||
await Tortoise.close_connections()
|
||||
logger.info("应用已关闭")
|
||||
|
||||
|
||||
Reference in new issue
Block a user