Merge pull request #5613 from nextcloud/enh/5611/increase-default-limit

change default upload limit to 16G as recommended in the docs
This commit is contained in:
Simon L. 2024-11-25 10:30:17 +01:00 committed by GitHub
commit a89765b641
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 15 additions and 15 deletions

View file

@ -1,5 +1,5 @@
# AIO settings
MaxDirectoryRecursion 30
MaxFileSize 10G
PCREMaxFileSize 10G
StreamMaxLength 10G
MaxFileSize 16G
PCREMaxFileSize 16G
StreamMaxLength 16G

View file

@ -1,4 +1,4 @@
# Adjust settings
cat /etc/clamav/clamd.conf > /tmp/clamd.conf
CLAMAV_FILE="$(sed "s|10G|$MAX_SIZE|" /clamav.conf)"
CLAMAV_FILE="$(sed "s|16G|$MAX_SIZE|" /clamav.conf)"
echo "$CLAMAV_FILE" >> /tmp/clamd.conf