]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix adding upstream to an active queue
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 24 Jun 2016 12:01:31 +0000 (13:01 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 24 Jun 2016 12:02:10 +0000 (13:02 +0100)
src/libutil/upstream.c

index 8ea61bc2064439af68aabb8ad47ac12a68b1d400..0dcfea0f318cf0c7153bc8adc21262e6a3b190d4 100644 (file)
@@ -443,7 +443,6 @@ rspamd_upstream_ok (struct upstream *up)
        if (up->errors > 0 && up->active_idx != -1) {
                /* We touch upstream if and only if it is active */
                up->errors = 0;
-               rspamd_upstream_set_active (up->ls, up);
 
                if (up->addrs.addr) {
                        addr_elt = g_ptr_array_index (up->addrs.addr, up->addrs.cur);