--- /dev/null
+ o Minor bugfixes (statistics):
+ - Fix the fencepost issue when we check stability_last_downrated where
+ we call rep_hist_downrate_old_runs() twice. Fixes bug 40394; bugfix
+ on 0.2.0.5-alpha. Patch by Neel Chauhan.
return stability_last_downrated + STABILITY_INTERVAL;
/* Okay, we should downrate the data. By how much? */
- while (stability_last_downrated + STABILITY_INTERVAL < now) {
+ while (stability_last_downrated + STABILITY_INTERVAL <= now) {
stability_last_downrated += STABILITY_INTERVAL;
alpha *= STABILITY_ALPHA;
}