HBASE-11588 RegionServerMetricsWrapperRunnable misused the 'period' parameter (Victor Xu)

This commit is contained in:
Ted Yu 2014-07-26 04:33:14 +00:00
parent b7e0bde346
commit 6f60f21711
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ class MetricsRegionServerWrapperImpl
// assume that it took PERIOD seconds to start the executor.
// this is a guess but it's a pretty good one.
if (lastRan == 0) {
lastRan = currentTime - (period * 1000);
lastRan = currentTime - period;
}