From b1ed63c4019228cf94deb7b524d586955ec44bb8 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Mon, 12 Dec 2022 07:40:38 +0100 Subject: [PATCH] README: Add note about StreamMaxLength in clamd.conf --- README.rst | 3 ++- instance/config.example.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index fd7067d..8c512de 100644 --- a/README.rst +++ b/README.rst @@ -70,7 +70,8 @@ timer or cronjob to do this periodically. Examples are included:: 0x0-vscan.service 0x0-vscan.timer -Remember to adjust your size limits in clamd.conf! +Remember to adjust your size limits in clamd.conf, including +``StreamMaxLength``! This feature requires the `clamd module `_. diff --git a/instance/config.example.py b/instance/config.example.py index 5674eea..825afcb 100644 --- a/instance/config.example.py +++ b/instance/config.example.py @@ -173,7 +173,7 @@ NSFW_THRESHOLD = 0.608 # Since this can take a very long time on larger files, it is not done # immediately but every time you run the vscan command. It is recommended to # configure a systemd timer or cronjob to do this periodically. -# Remember to adjust your size limits in clamd.conf! +# Remember to adjust your size limits in clamd.conf, including StreamMaxLength! # # Example: # from clamd import ClamdUnixSocket