While on the topic, I'm using the python Thrift interface - if I
wanted to, how would I change the timeout? I currently do:

  socket = TSocket.TSocket(host,port)

If I wanted to change the timeout would I do something like:

socket.setTimeout(timeout)

or...?

Sorry if I should be able to see this by looking at the code - I'm new
to python.

Thanks,

Simon

On Thu, Oct 15, 2009 at 11:42 AM, Jake Luciani <[email protected]> wrote:
> I think it's 100ms. I need to increase it to match python I guess.
>
> Sent from my iPhone
>
> On Oct 15, 2009, at 11:40 AM, Jonathan Ellis <[email protected]> wrote:
>
>> What is the default?
>>
>> On Thu, Oct 15, 2009 at 10:37 AM, Jake Luciani <[email protected]> wrote:
>>>
>>> You need to call
>>> $socket->setRecvTimeout()
>>> With a higher number in ms.
>>>
>>>

Reply via email to