It is helpful! Thanks to your reminder, I also find other relevant interfaces, such as setConnTimeout, setRecvTimeout from TSocket class.
2010/11/1 Dvir Volk <[email protected]> > I'm not a thrift developer but a user, but you have the > socket.setSendTimeout(). > I'm only using PHP clients so I can't tell you about other languages, > but on PHP, thrift is using this sendTimeout as a connection timeout > for fsockopen() > > > On Mon, Nov 1, 2010 at 8:25 AM, 黄文秀 <[email protected]> wrote: > > Hi all, > > > > Is there any interface to set connection timeout for clients? > > > > > > > > Thanks! > > Wenxiu > > > Thanks! Wenxiu
