kanoi 10 years ago
parent
commit
70c64dd0b3
  1. 3
      src/stratifier.c

3
src/stratifier.c

@ -3517,6 +3517,9 @@ static void *statsupdate(void *arg)
worker_instance_t *worker; worker_instance_t *worker;
bool idle = false; bool idle = false;
if (instance->workers < 1)
continue;
/* Decay times per worker */ /* Decay times per worker */
DL_FOREACH(instance->worker_instances, worker) { DL_FOREACH(instance->worker_instances, worker) {
per_tdiff = tvdiff(&now, &worker->last_share); per_tdiff = tvdiff(&now, &worker->last_share);

Loading…
Cancel
Save