Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.4
-
None
Description
THsHaServer uses ThreadPoolExecutor with Executors.defaultThreadFactory(). It would be nice if THsHaServer had a constructor with custom worker threads factory.
The custom factory allows to:
- create a worker threads with other priority than default
- create a worker threads with custom names (usefull when debugging application with more than one thrift server and many threads)