diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-05-22 14:02:26 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-05-22 14:02:26 +0100 |
commit | 3b3de857f12e0b13b060c8fffccd4923abca3631 (patch) | |
tree | 2681033bccd99ad70b72bfd72fb5c41591e9b72e /conf | |
parent | 2fa03199e4bcf3d323d5c94ec7a16bb2890e0354 (diff) | |
download | rspamd-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.conf | 5 |
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; + } } |