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.service
0x0-vscan.timer 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/>`_. 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 # 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 # immediately but every time you run the vscan command. It is recommended to
# configure a systemd timer or cronjob to do this periodically. # 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: # Example:
# from clamd import ClamdUnixSocket # from clamd import ClamdUnixSocket