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:
Michael Stack 2012-01-11 22:52:57 +00:00
parent d44d06f48e
commit 06ca87ae87
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ public class TBoundedThreadPoolServer extends TServer {
tfb.setNameFormat("thrift-worker-%d"); tfb.setNameFormat("thrift-worker-%d");
executorService = executorService =
new ThreadPoolExecutor(options.minWorkerThreads, new ThreadPoolExecutor(options.minWorkerThreads,
options.maxWorkerThreads, DEFAULT_THREAD_KEEP_ALIVE_TIME_SEC, TimeUnit.SECONDS, options.maxWorkerThreads, options.threadKeepAliveTimeSec, TimeUnit.SECONDS,
executorQueue, tfb.build()); executorQueue, tfb.build());
serverOptions = options; serverOptions = options;
} }