aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-22 12:44:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-22 12:44:27 +0100
commit13bac0b96a129be5195b72a4100d6cd24a93d23e (patch)
tree528612a78d31e73d49e060ee32e5d4c9d458e10d /src/libutil
parent094cad0a00d3fc18983093473be14a241d8b0e49 (diff)
downloadrspamd-13bac0b96a129be5195b72a4100d6cd24a93d23e.tar.gz
rspamd-13bac0b96a129be5195b72a4100d6cd24a93d23e.zip
[Fix] Reduce maps aggressiveness
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c
index aefd8eb08..b8d04dc5d 100644
--- a/src/libutil/map.c
+++ b/src/libutil/map.c
@@ -859,7 +859,7 @@ rspamd_map_schedule_periodic (struct rspamd_map *map,
timeout = map->poll_timeout * error_mult;
}
else if (locked) {
- timeout = lock_mult;
+ timeout = map->poll_timeout * lock_mult;
}
cbd = g_slice_alloc0 (sizeof (*cbd));