add docs for max_strip_len

This commit is contained in:
minish 2024-05-27 16:05:31 -04:00
parent 76701113c5
commit 7a3b8a66e2
Signed by: min
GPG Key ID: FEECFF24EF0CE9E9
2 changed files with 7 additions and 1 deletions

2
Cargo.lock generated
View File

@ -246,7 +246,7 @@ checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
[[package]]
name = "breeze"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"anyhow",
"async-recursion",

View File

@ -84,6 +84,12 @@ motd = "my image host, currently hosting %uplcount% files"
# cached anyways.
max_temp_lifetime = 43200
# The maximum length (in bytes) an image file may be before the server
# will skip removing its EXIF data.
# The performance impact of breeze's EXIF data removal is not
# very high in everyday usage, so something like 16MiB is reasonable.
max_strip_len = 16_777_216
[engine.disk]
# The location that uploads will be saved to.
# It should be a path to a directory on disk that you can write to.