From 61af71b6a72089e74e2085ab06a3935677a638d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de>
Date: Tue, 1 Mar 2022 09:32:41 +0100
Subject: [PATCH] fix: set ClamD StreamMaxLength to 4GB (was: 4MB, which is far
 too low for Rosetta)

---
 tasks/install-clamav.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tasks/install-clamav.yml b/tasks/install-clamav.yml
index df32d63..1ea310d 100644
--- a/tasks/install-clamav.yml
+++ b/tasks/install-clamav.yml
@@ -125,7 +125,7 @@
       TCPSocket 3310
       TCPAddr 127.0.0.1
       MaxConnectionQueueLength 200
-      StreamMaxLength 4000K
+      StreamMaxLength 4000M
       # AllowSupplementaryGroups yes            # DEPRECATED
       ScanPE yes
       ScanELF yes
-- 
GitLab