Browse Source

Only update stats on authorised clients

master
Con Kolivas 10 years ago
parent
commit
a8eb9357ee
  1. 3
      src/stratifier.c

3
src/stratifier.c

@ -2163,6 +2163,9 @@ static void update_userstats(ckpool_t *ckp)
uint8_t cycle_mask;
int elapsed;
if (!client->authorised)
continue;
/* Send one lot of stats once the client is idle if they have submitted
* no shares in the last 10 minutes with the idle bool set. */
if (client->idle && client->notified_idle)

Loading…
Cancel
Save