2010-05-05 14 views
0

雖然我使用Thrift和PHP從Cassandra檢索數據,但它總是需要60秒。爲什麼?閱讀卡桑德拉總是需要60秒。爲什麼? (cassandra,thrift,php)

+2

這聽起來像的東西是超時則允許代碼讀取數據。這個問題需要更多的信息。 – Clutch 2010-05-05 14:11:35

+0

聽起來像一個謎語。去對方? – webbiedave 2010-05-05 14:33:40

+0

您的Turbo Encabulator需要更換。這是我最好的猜測。 – mattbasta 2010-05-05 15:23:08

回答

5

我明白了。

有兩個項目在我的文件

$this->socket->setRecvTimeout(60000); 
$this->socket->setSendTimeout(60000); 

我已刪除他們,它的正常工作

+0

幹得好。感謝您發佈答案,因此可以幫助其他人解決同樣的問題。 – webbiedave 2010-05-05 15:19:41