summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-23 20:14:08 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-23 20:14:08 +0300
commit7c3c86ce3fad9d222561fddc3bb30e7f1aa66b32 (patch)
tree2c114a98f6f3a261a23b7f0e812eb9fe37c8b945 /src/main.c
parent143e584d81e18757922706ae67f9fd61e85a10d1 (diff)
downloadrspamd-7c3c86ce3fad9d222561fddc3bb30e7f1aa66b32.tar.gz
rspamd-7c3c86ce3fad9d222561fddc3bb30e7f1aa66b32.zip
* Add ability to extract urls from subject field0.3.10
Fix phishing plugin. * Important fix for multimap/cdb handling * Important fix for phishing detector
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 64357c264..cef64d8a1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -605,8 +605,8 @@ wait_for_workers (gpointer key, gpointer value, gpointer unused)
if (got_alarm) {
got_alarm = 0;
- /* Set alarm for hard termination */
- set_alarm (HARD_TERMINATION_TIME);
+ /* Set alarm for hard termination but with less time */
+ set_alarm (HARD_TERMINATION_TIME / 10);
}
if (waitpid (w->pid, &res, 0) == -1) {