From bbbb8d029cf889fd1c770341094417d834cab9e0 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 13 May 2016 15:57:49 +0100 Subject: [PATCH] [Fix] Another fix for maps scheduling --- src/libutil/map.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5