README: Add note about StreamMaxLength in clamd.conf

This commit is contained in:
Mia Herkt 2022-12-12 07:40:38 +01:00
parent a904922cbd
commit b1ed63c401
Signed by: mia
GPG key ID: 72E154B8622EC191
2 changed files with 3 additions and 2 deletions

View file

@ -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/>`_.

View file

@ -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