summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMia Herkt <mia@0x0.st>2022-12-12 07:40:38 +0100
committerMia Herkt <mia@0x0.st>2022-12-12 07:40:38 +0100
commitb1ed63c4019228cf94deb7b524d586955ec44bb8 (patch)
tree1b8fb279fce599e36ef5c29ca52f2b7164d5a363
parenta904922cbd6f6478d5e7fd773adc368b7652adaa (diff)
README: Add note about StreamMaxLength in clamd.conf
-rw-r--r--README.rst3
-rw-r--r--instance/config.example.py2
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 <https://pypi.org/project/clamd/>`_.
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