Browse Source

Make the reconnect after auth a soft reconnect

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

2
src/stratifier.c

@ -3458,7 +3458,7 @@ static json_t *parse_authorise(stratum_instance_t *client, const json_t *params_
sdata_t *ckp_sdata = ckp->data; sdata_t *ckp_sdata = ckp->data;
if (userproxy_headroom(ckp_sdata, client->user_id)) if (userproxy_headroom(ckp_sdata, client->user_id))
reconnect_client(ckp_sdata, client); client->reconnect = true;
} }
} else { } else {
LOGNOTICE("Authorised client %"PRId64" worker %s as user %s", LOGNOTICE("Authorised client %"PRId64" worker %s as user %s",

Loading…
Cancel
Save