Browse Source

Demote non existent proxy message to info

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

6
src/generator.c

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

Loading…
Cancel
Save