2
0
Эх сурвалжийг харах

[Rspamd] Increase task timeout to prevent expensive tasks to cause a timeout; Set max size for macro scans to 3 MiB

andryyy 4 жил өмнө
parent
commit
98a778a059

+ 1 - 1
data/conf/rspamd/local.d/external_services.conf

@@ -6,5 +6,5 @@ oletools {
   # mime-part regex matching in content-type or filename
   # block all macros
   extended = true;
-  max_size = 5242880;
+  max_size = 3145728;
 }

+ 1 - 1
data/conf/rspamd/override.d/worker-normal.inc

@@ -1,4 +1,4 @@
 bind_socket = "*:11333";
-task_timeout = 12s;
+task_timeout = 25s;
 count = 1;
 .include(try=true; priority=30) "$CONFDIR/override.d/worker-normal.custom.inc"