incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Thrift Perl API Timeout Issues
Date Thu, 15 Oct 2009 16:00:53 GMT
On Thu, Oct 15, 2009 at 10:51 AM, Simon Smith <simongsmith@gmail.com> wrote:
> 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)

Yes, with timeout in ms.

(The default appears to be "never timeout.")

-Jonathan

Mime
View raw message