From 844f9bee3784199acc892e3955d86a4be9f5963d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 20 Aug 2019 18:14:28 +0100 Subject: [PATCH] [Fix] Fix hang in fuzzy_learn when explicit rotation is set --- src/plugins/fuzzy_check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index caa787ed7..5f34df4aa 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -2908,7 +2908,7 @@ register_fuzzy_controller_call (struct rspamd_http_connection_entry *entry, /* Get upstream */ - while ((selected = rspamd_upstream_get (rule->servers, + while ((selected = rspamd_upstream_get_forced (rule->servers, RSPAMD_UPSTREAM_SEQUENTIAL, NULL, 0))) { /* Create UDP socket */ addr = rspamd_upstream_addr_next (selected); -- 2.39.5