阅读Cassandra总是需要60秒.为什么?(cassandra,thrift,php)

use*_*343 0 php thrift cassandra

当我使用Thrift和PHP从Cassandra检索数据时,它总是需要60秒.为什么?

use*_*343 5

我知道了.

我的文件中有两个条目

$this->socket->setRecvTimeout(60000);
$this->socket->setSendTimeout(60000);
Run Code Online (Sandbox Code Playgroud)

我删除了它们,它工作正常