]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Another fix for maps scheduling
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 13 May 2016 14:57:49 +0000 (15:57 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 13 May 2016 14:57:49 +0000 (15:57 +0100)
src/libutil/map.c

index c4112bfd15c95df1bc1a72b33b3c72c607aaa9bd..f99c35784fd205245b3aaf7e435c81ce5c573a89 100644 (file)
@@ -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);