You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Hector Yuen <he...@gmail.com> on 2010/11/29 23:29:10 UTC

socket timeout in python tserver

Hi all,

I am having a problem in Python in which my TServerSocket times out in 90
seconds. I looked into the code and found out that in

TserverSocket.listen()

there seems to be a typo in which it calls hasattr(self.handle,
'set_timeout')

Shouldn't it be settimeout instead? Otherwise the socket is getting its
default timeout value (90 seconds).

Thanks


-- 
-h