|
|
@ -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: |
|
|
|