diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-12-09 15:54:01 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-12-09 15:54:01 +0000 |
commit | 228b958489922e08eedfeaf545b4410aafed45da (patch) | |
tree | 74581afd7d2b8aafc32f367ef1dbd51468ec2fff /src/libutil/map_private.h | |
parent | 592fd69d4f6d339001d24bbe7b772c1da9395643 (diff) | |
download | rspamd-228b958489922e08eedfeaf545b4410aafed45da.tar.gz rspamd-228b958489922e08eedfeaf545b4410aafed45da.zip |
[Minor] Avoid double scheduling for maps
Diffstat (limited to 'src/libutil/map_private.h')
-rw-r--r-- | src/libutil/map_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/map_private.h b/src/libutil/map_private.h index 55641f3dd..fd2098cd1 100644 --- a/src/libutil/map_private.h +++ b/src/libutil/map_private.h @@ -113,6 +113,7 @@ struct rspamd_map { gchar *description; gchar *name; guint32 id; + gboolean scheduled_check; /* Should we check HTTP or just load cached data */ gboolean active_http; struct timeval tv; @@ -142,8 +143,8 @@ struct map_periodic_cbdata { struct event ev; gboolean need_modify; gboolean errored; - guint cur_backend; gboolean locked; + guint cur_backend; ref_entry_t ref; }; |