HBASE-15358 canEnforceTimeLimitFromScope should use timeScope instead of sizeScope

Signed-off-by: zhangduo <zhangduo@apache.org>
This commit is contained in:
Phil Yang 2016-02-29 16:26:51 +08:00 committed by zhangduo
parent 03ffb30efe
commit 88f775996b
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ public class ScannerContext {
* @return true when the limit can be enforced from the scope of the checker
*/
boolean canEnforceTimeLimitFromScope(LimitScope checkerScope) {
return this.sizeScope.canEnforceLimitFromScope(checkerScope);
return this.timeScope.canEnforceLimitFromScope(checkerScope);
}
@Override