From 7a3b8a66e28288f038391ca2b30597982c680caa Mon Sep 17 00:00:00 2001 From: minish Date: Mon, 27 May 2024 16:05:31 -0400 Subject: [PATCH] add docs for max_strip_len --- Cargo.lock | 2 +- README.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index ceb5e99..3fb8aa9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -246,7 +246,7 @@ checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" [[package]] name = "breeze" -version = "0.2.0" +version = "0.2.1" dependencies = [ "anyhow", "async-recursion", diff --git a/README.md b/README.md index 480db28..7537010 100644 --- a/README.md +++ b/README.md @@ -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.