Switch to streaming the uploaded file to disk

This commit is contained in:
Lol3rrr
2024-10-18 19:46:56 +02:00
parent 201cead3f1
commit 966bd4f413
5 changed files with 49 additions and 36 deletions

2
Cargo.lock generated
View File

@@ -297,6 +297,7 @@ dependencies = [
"diesel",
"diesel-async",
"diesel_async_migrations",
"futures",
"futures-util",
"image",
"memmap2",
@@ -307,6 +308,7 @@ dependencies = [
"steam-openid",
"time",
"tokio",
"tokio-util",
"tower-http",
"tower-sessions",
"tracing",