commit fbf14aa: [Minor] Reset slow flag on checks pause
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Jan 17 13:07:06 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-01-17 12:39:49 +0000
URL: https://github.com/rspamd/rspamd/commit/fbf14aa0b0497d6707c7dd780376d81e4a1a7714
[Minor] Reset slow flag on checks pause
---
src/libserver/rspamd_symcache.c | 10 ++++++++++
1 file changed, 10 insertions(+)
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;
}
More information about the Commits
mailing list