]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Reset slow flag on checks pause
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 17 Jan 2020 12:39:49 +0000 (12:39 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 17 Jan 2020 12:39:49 +0000 (12:39 +0000)
src/libserver/rspamd_symcache.c

index 212ae76e7cc8618994384ed6c200b3e36e6962d7..7a9e89c421a7c6c78083d391481e2377de0ac428 100644 (file)
@@ -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;
                                }