Browse Source

Demote message verbosity for no auth response when we know ckdb is offline

master
Con Kolivas 10 years ago
parent
commit
b780dc0061
  1. 6
      src/stratifier.c

6
src/stratifier.c

@ -2437,8 +2437,12 @@ static int send_recv_auth(stratum_instance_t *client)
} }
if (contended) if (contended)
LOGWARNING("Prolonged lock contention for ckdb while trying to authorise"); LOGWARNING("Prolonged lock contention for ckdb while trying to authorise");
else else {
if (!sdata->ckdb_offline)
LOGWARNING("Got no auth response from ckdb :("); LOGWARNING("Got no auth response from ckdb :(");
else
LOGNOTICE("No auth response for %s from offline ckdb", user->username);
}
out_fail: out_fail:
ret = -1; ret = -1;
out: out:

Loading…
Cancel
Save