HBASE-5182 TBoundedThreadPoolServer threadKeepAliveTimeSec is not configured properly
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1230306 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d44d06f48e
commit
06ca87ae87
|
@ -151,7 +151,7 @@ public class TBoundedThreadPoolServer extends TServer {
|
|||
tfb.setNameFormat("thrift-worker-%d");
|
||||
executorService =
|
||||
new ThreadPoolExecutor(options.minWorkerThreads,
|
||||
options.maxWorkerThreads, DEFAULT_THREAD_KEEP_ALIVE_TIME_SEC, TimeUnit.SECONDS,
|
||||
options.maxWorkerThreads, options.threadKeepAliveTimeSec, TimeUnit.SECONDS,
|
||||
executorQueue, tfb.build());
|
||||
serverOptions = options;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue