From 111a10bf9d0d26cc382a106878e501340cd0c9ee Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 20 Feb 2015 23:08:43 +1100 Subject: [PATCH] Send clients a reconnect even if we're switching to a backup pool --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 69845ba4..736a5e3f 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1146,7 +1146,7 @@ static void reconnect_clients(sdata_t *sdata, const int proxyid, const int64_t n ck_rlock(&sdata->instance_lock); HASH_ITER(hh, sdata->stratum_instances, client, tmp) { - if (client->proxyid > proxyid || (client->proxyid == proxyid && client->notify_id != notify_id)) + if (client->proxyid != proxyid || client->notify_id != notify_id) client->reconnect = true; } ck_runlock(&sdata->instance_lock);