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

master
andryyy 2021-08-16 10:01:05 +02:00
parent 85a66c4fbf
commit 98a778a059
2 changed files with 2 additions and 2 deletions

View File

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

View File

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