Browse Source

Send clients a reconnect even if we're switching to a backup pool

master
Con Kolivas 10 years ago
parent
commit
111a10bf9d
  1. 2
      src/stratifier.c

2
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);

Loading…
Cancel
Save