aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_symcache.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-17 12:39:49 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-17 12:39:49 +0000
commitfbf14aa0b0497d6707c7dd780376d81e4a1a7714 (patch)
treef81681ed5e749902acf367ea53e77f19a40da9c2 /src/libserver/rspamd_symcache.c
parentc6ee414bf65009acaa163c2c82aaf38283567b8a (diff)
downloadrspamd-fbf14aa0b0497d6707c7dd780376d81e4a1a7714.tar.gz
rspamd-fbf14aa0b0497d6707c7dd780376d81e4a1a7714.zip
[Minor] Reset slow flag on checks pause
Diffstat (limited to 'src/libserver/rspamd_symcache.c')
-rw-r--r--src/libserver/rspamd_symcache.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libserver/rspamd_symcache.c b/src/libserver/rspamd_symcache.c
index 212ae76e7..7a9e89c42 100644
--- a/src/libserver/rspamd_symcache.c
+++ b/src/libserver/rspamd_symcache.c
@@ -2075,6 +2075,8 @@ rspamd_symcache_process_symbols (struct rspamd_task *task,
if (checkpoint->has_slow) {
/* Delay */
+ checkpoint->has_slow = FALSE;
+
return FALSE;
}
/* Check priorities */
@@ -2118,6 +2120,8 @@ rspamd_symcache_process_symbols (struct rspamd_task *task,
/* Check priorities */
if (checkpoint->has_slow) {
/* Delay */
+ checkpoint->has_slow = FALSE;
+
return FALSE;
}
@@ -2176,6 +2180,8 @@ rspamd_symcache_process_symbols (struct rspamd_task *task,
if (checkpoint->has_slow) {
/* Delay */
+ checkpoint->has_slow = FALSE;
+
return FALSE;
}
}
@@ -2214,6 +2220,8 @@ rspamd_symcache_process_symbols (struct rspamd_task *task,
if (checkpoint->has_slow) {
/* Delay */
+ checkpoint->has_slow = FALSE;
+
return FALSE;
}
@@ -2252,6 +2260,8 @@ rspamd_symcache_process_symbols (struct rspamd_task *task,
/* Check priorities */
if (checkpoint->has_slow) {
/* Delay */
+ checkpoint->has_slow = FALSE;
+
return FALSE;
}