Browse Source

Demote non existent proxy message to info

master
Con Kolivas 10 years ago
parent
commit
0383888d5e
  1. 12
      src/generator.c

12
src/generator.c

@ -1392,21 +1392,21 @@ static void submit_share(gdata_t *gdata, json_t *val)
}
proxy = proxy_by_id(gdata, id);
if (unlikely(!proxy)) {
LOGNOTICE("Client %"PRId64" sending shares to non existent proxy %d, dropping",
client_id, id);
LOGINFO("Client %"PRId64" sending shares to non existent proxy %d, dropping",
client_id, id);
stratifier_reconnect_client(ckp, client_id);
goto out;
}
proxi = subproxy_by_id(proxy, subid);
if (unlikely(!proxi)) {
LOGNOTICE("Client %"PRId64" sending shares to non existent subproxy %d:%d, dropping",
client_id, id, subid);
LOGINFO("Client %"PRId64" sending shares to non existent subproxy %d:%d, dropping",
client_id, id, subid);
stratifier_reconnect_client(ckp, client_id);
goto out;
}
if (!proxi->alive) {
LOGNOTICE("Client %"PRId64" sending shares to dead subproxy %d:%d, dropping",
client_id, id, subid);
LOGINFO("Client %"PRId64" sending shares to dead subproxy %d:%d, dropping",
client_id, id, subid);
stratifier_reconnect_client(ckp, client_id);
goto out;
}

Loading…
Cancel
Save