From 06ca87ae8753d7c1ea0bf4e10691c7213949051d Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 11 Jan 2012 22:52:57 +0000 Subject: [PATCH] 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 --- .../apache/hadoop/hbase/thrift/TBoundedThreadPoolServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/hadoop/hbase/thrift/TBoundedThreadPoolServer.java b/src/main/java/org/apache/hadoop/hbase/thrift/TBoundedThreadPoolServer.java index 690a57f8b9f..a88634e7416 100644 --- a/src/main/java/org/apache/hadoop/hbase/thrift/TBoundedThreadPoolServer.java +++ b/src/main/java/org/apache/hadoop/hbase/thrift/TBoundedThreadPoolServer.java @@ -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; }