[ 
https://issues.apache.org/jira/browse/THRIFT-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jake Farrell closed THRIFT-3197.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.3

Thanks for the patch [~pankaj2461], committed

> keepAliveTime is hard coded as 60 sec in TThreadPoolServer
> ----------------------------------------------------------
>
>                 Key: THRIFT-3197
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3197
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>            Reporter: Pankaj Kumar
>            Assignee: Pankaj Kumar
>             Fix For: 0.9.3
>
>         Attachments: THRIFT-3197-V2.patch, THRIFT-3197.patch
>
>
> While creating ThreadPoolExecutor in TThreadPoolServer, keepAliveTime is hard 
> coded as 60 sec.
> {code}
>  private static ExecutorService createDefaultExecutorService(Args args) {
>     SynchronousQueue<Runnable> executorQueue =
>       new SynchronousQueue<Runnable>();
>     return new ThreadPoolExecutor(args.minWorkerThreads,
>                                   args.maxWorkerThreads,
>                                   60,
>                                   TimeUnit.SECONDS,
>                                   executorQueue);
>   }
> {code}
> It should be "args.stopTimeoutVal"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to