Browse Source

Only reconnect with the parent proxy notify

master
Con Kolivas 10 years ago
parent
commit
2054f116d7
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -1412,7 +1412,7 @@ static void update_notify(ckpool_t *ckp, const char *cmd)
current_id = current->id;
mutex_unlock(&sdata->proxy_lock);
if (proxy->id == current_id)
if (!proxy->subid && proxy->id == current_id)
reconnect_clients(sdata);
clean |= new_block;
LOGINFO("Proxy %ld:%d broadcast updated stratum notify with%s clean", id,

Loading…
Cancel
Save