HBASE-17661 fix the queue length passed to FastPathBalancedQueueRpcExecutor
Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
parent
350904e90f
commit
d08bafad1a
|
@ -87,7 +87,7 @@ public class SimpleRpcScheduler extends RpcScheduler implements ConfigurationObs
|
||||||
} else {
|
} else {
|
||||||
if (RpcExecutor.isFifoQueueType(callQueueType)) {
|
if (RpcExecutor.isFifoQueueType(callQueueType)) {
|
||||||
callExecutor = new FastPathBalancedQueueRpcExecutor("deafult.FPBQ", handlerCount,
|
callExecutor = new FastPathBalancedQueueRpcExecutor("deafult.FPBQ", handlerCount,
|
||||||
maxPriorityQueueLength, priority, conf, server);
|
maxQueueLength, priority, conf, server);
|
||||||
} else {
|
} else {
|
||||||
callExecutor = new BalancedQueueRpcExecutor("deafult.BQ", handlerCount, maxQueueLength,
|
callExecutor = new BalancedQueueRpcExecutor("deafult.BQ", handlerCount, maxQueueLength,
|
||||||
priority, conf, server);
|
priority, conf, server);
|
||||||
|
|
Loading…
Reference in New Issue