El 27/04/2010, a las 19:00, Ryan King escribió:

> On Tue, Apr 27, 2010 at 2:29 PM, Lucas Di Pentima
> <lu...@di-pentima.com.ar> wrote:
>> 
>> El 27/04/2010, a las 18:11, Ryan King escribió:
>> 
>>> On Tue, Apr 27, 2010 at 1:38 PM, Lucas Di Pentima
>>> <lu...@di-pentima.com.ar> wrote:
>>> 
>>>> Nope, I'm doing some tests locally on my notebook (Macbook OSX 10.6.3 
>>>> w/4GB RAM). My script insert several hundred thousand columns with stable 
>>>> speed, and then it exits throwing that exception.
>>> 
>>> Its possible you're running into a different problem then. Have you
>>> tried raising the timeout?
>> 
>> 
>> Sorry, but I don't know how to do that. Can you point me where to look? I 
>> looked in cassandra gem and didn't found any timeout reference.
> 
> Its actually in thrift client, not the cassandra gem, I believe its
> something like:
> 
> Cassandra.new('Twitter', "127.0.0.1:9160", :timeout => 0.1) #timeout
> is in seconds.


Oops, missed socket.rb, thanks Ryan I'll give it a try. I noticed that is 
doesn't have any default timeout value, so I'll start with 1.0 sec.

Best regards
--
Lucas Di Pentima - Santa Fe, Argentina
Jabber: lu...@di-pentima.com.ar
MSN: ldipent...@hotmail.com




Reply via email to