aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-05-22 14:02:26 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-05-22 14:02:26 +0100
commit3b3de857f12e0b13b060c8fffccd4923abca3631 (patch)
tree2681033bccd99ad70b72bfd72fb5c41591e9b72e /conf
parent2fa03199e4bcf3d323d5c94ec7a16bb2890e0354 (diff)
downloadrspamd-3b3de857f12e0b13b060c8fffccd4923abca3631.tar.gz
rspamd-3b3de857f12e0b13b060c8fffccd4923abca3631.zip
[Feature] PDF: Add timeouts for expensive operations
Diffstat (limited to 'conf')
-rw-r--r--conf/scores.d/content_group.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/scores.d/content_group.conf b/conf/scores.d/content_group.conf
index 6a011b938..56255bea0 100644
--- a/conf/scores.d/content_group.conf
+++ b/conf/scores.d/content_group.conf
@@ -43,5 +43,10 @@ symbols = {
description = "There is a PDF file with too many objects";
one_shot = true;
}
+ "PDF_TIMEOUT" {
+ weight = 0;
+ description = "There is a PDF file that caused timeout in processing";
+ one_shot = true;
+ }
}