hard limit enforcement, detect deleted files on load
All checks were successful
build docker container automatically / build (push) Successful in 3m26s

This commit is contained in:
2026-04-22 17:18:23 +02:00
parent 5ccaf9a385
commit 90c9db4f89
10 changed files with 73 additions and 34 deletions

View File

@ -14,8 +14,8 @@ impl ServerConfig {
upload_folder: "./uploads/".to_string(),
db_url: std::env::var("HTTPSERVER_DATABASE_URL").expect("missing HTTPSERVER_DATABASE_URL"),
upload_storage_limit_soft: 1024 * 1024 * 1024 * 200,
upload_storage_limit_hard: 1024 * 1024 * 1024 * 300,
upload_storage_limit_soft: 1024 * 1024 * 1024 * 3,
upload_storage_limit_hard: 1024 * 1024 * 1024 * 5,
}
}
}