cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuhan Zhang <>
Subject how to detect stream closed in twitter/cassandra api?
Date Fri, 02 Nov 2012 19:39:55 GMT
Hi all,

I'm using twitter/cassandra ruby client, trying to pool a connection in a
static variable.
    @@client =, host, :retries => retries,
:connect_timeout => connect_timeout, :timeout => timeout,
:exception_classes => [])

but the connection returns "stream closed error" after a while. is there a
method in twitter/cassandra client to detect this state?

Thank you..


The information contained in this e-mail is for the exclusive use of the 
intended recipient(s) and may be confidential, proprietary, and/or legally 
privileged. Inadvertent disclosure of this message does not constitute a 
waiver of any privilege.  If you receive this message in error, please do 
not directly or indirectly print, copy, retransmit, disseminate, or 
otherwise use the information. In addition, please delete this e-mail and 
all copies and notify the sender.

View raw message