Browse Source

Off by one on headroom

master
Con Kolivas 10 years ago
parent
commit
daa478f1f5
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -1251,7 +1251,7 @@ static void reassess_headroom(sdata_t *sdata, const proxy_t *proxy)
} }
ck_runlock(&sdata->instance_lock); ck_runlock(&sdata->instance_lock);
if (headroom < 0) if (headroom < 1)
generator_recruit(sdata->ckp); generator_recruit(sdata->ckp);
} }

Loading…
Cancel
Save