From: Vsevolod Stakhov Date: Fri, 13 May 2016 14:57:49 +0000 (+0100) Subject: [Fix] Another fix for maps scheduling X-Git-Tag: 1.3.0~477 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bbbb8d029cf889fd1c770341094417d834cab9e0;p=rspamd.git [Fix] Another fix for maps scheduling --- 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);