Browse Source

Client reject should be set to 3 with full pool

master
Con Kolivas 9 years ago
parent
commit
e945e8e5ef
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -3766,7 +3766,7 @@ static json_t *parse_subscribe(stratum_instance_t *client, const int64_t client_
/* Create a new extranonce1 based on a uint64_t pointer */ /* Create a new extranonce1 based on a uint64_t pointer */
if (!new_enonce1(ckp, ckp_sdata, sdata, client)) { if (!new_enonce1(ckp, ckp_sdata, sdata, client)) {
stratum_send_message(sdata, client, "Pool full of clients"); stratum_send_message(sdata, client, "Pool full of clients");
client->reject = 2; client->reject = 3;
return json_string("proxy full"); return json_string("proxy full");
} }
LOGINFO("Set new subscription %"PRId64" to new enonce1 %lx string %s", client->id, LOGINFO("Set new subscription %"PRId64" to new enonce1 %lx string %s", client->id,

Loading…
Cancel
Save