thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Abernethy <randy.aberne...@gmail.com>
Subject Re: Change backlog connection count
Date Wed, 05 Jun 2013 00:21:47 GMT
Hello Vivek,

At the moment the acceptBacklog_ is hard coded to 1024.
THRIFT-1997<https://issues.apache.org/jira/browse/THRIFT-1997>
addresses
this.
If you apply the 1997 patch you can invoke setAcceptBacklog( myBLValue );
on the TServerSocket
that you pass to TThreadedServer. You must set the new backlog before
calling listen().

Hope this helps.

Best,
Randy


On Tue, Jun 4, 2013 at 11:57 AM, Vivek Goel <goelvivek2011@gmail.com> wrote:

> Hi
> I am using c++ lib. Is there way to change backlog connection count in
> threaded server ?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message