aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-13 15:57:49 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-13 15:57:49 +0100
commitbbbb8d029cf889fd1c770341094417d834cab9e0 (patch)
tree30e98b50d7f1b76ce6439af9c60cde14a40a35a7
parent562fff4f39bdab9a10fe24fab72cc4484ace1c59 (diff)
downloadrspamd-bbbb8d029cf889fd1c770341094417d834cab9e0.tar.gz
rspamd-bbbb8d029cf889fd1c770341094417d834cab9e0.zip
[Fix] Another fix for maps scheduling
-rw-r--r--src/libutil/map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c
index c4112bfd1..f99c35784 100644
--- a/src/libutil/map.c
+++ b/src/libutil/map.c
@@ -611,6 +611,7 @@ rspamd_map_schedule_periodic (struct rspamd_map *map,
}
else {
evtimer_del (&map->ev);
+ evtimer_set (&map->ev, rspamd_map_periodic_callback, cbd);
}
jittered_sec = rspamd_time_jitter (timeout, 0);