Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Slider 0.50
-
None
Description
Here is the usage for thrift:
usage: Thrift [-b <arg>] [-c] [-f] [-h] [-hsha | -nonblocking | -threadedselector | -threadpool] [--infoport <arg>] [-k <arg>] [-m <arg>] [-p <arg>] [-q <arg>] [-w <arg>] -b,--bind <arg> Address to bind the Thrift server to. Not supported by the Nonblocking and HsHa server [default: 0.0.0.0] -c,--compact Use the compact protocol -f,--framed Use framed transport -h,--help Print help information -hsha Use the THsHaServer This implies the framed transport. --infoport <arg> Port for web UI -k,--keepAliveSec <arg> The amount of time in secods to keep a thread alive when idle in TBoundedThreadPoolServer -m,--minWorkers <arg> The minimum number of worker threads for TBoundedThreadPoolServer -nonblocking Use the TNonblockingServer This implies the framed transport. -p,--port <arg> Port to bind to [default: 9090] -q,--queue <arg> The maximum number of queued requests in TBoundedThreadPoolServer -threadedselector Use the TThreadedSelectorServer This implies the framed transport. -threadpool Use the TBoundedThreadPoolServerThis is the default. -w,--workers <arg> The maximum number of worker threads for TBoundedThreadPoolServer
Currently only port is passed.
We should accommodate other parameters