Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.7.0
-
None
-
Reviewed
Description
This code is used to check whether the block scanner is enabled:
public boolean isEnabled() { return (conf.scanPeriodMs) > 0 && (conf.targetBytesPerSec > 0); }
Unfortunately, when this was introduced, we did not change the default scan period's value of 0, which means by default the BlockScanner is disabled.