Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.9
-
None
Description
It seems that if the VersionGarbageCollector reduces the scope to a 60s interval, it'll never change it back to a bigger interval. This is because the collectLimit gets set to 0:
if (scope.getDurationMs() <= options.precisionMs) { // If we have narrowed the collect time interval down as much as we can, no // longer enforce a limit. We need to get through this. collectLimit = 0; log.debug("time interval <= precision ({} ms), disabling collection limits", options.precisionMs); }
...and later on this is interpreted as "there were no restrictions in the prior run that need to be updated":
if (maxCollect <= 0) { log.debug("successful run without effective limit, keeping recommendations"); }