Orange-OpenSource / YACassandraPDO

Cassandra PDO Driver fork
Apache License 2.0
85 stars 32 forks source link

Problem with persistent connections #82

Open cairofarulla opened 9 years ago

cairofarulla commented 9 years ago

Hello,

We have some problems with PDO::ATTR_PERSISTENT option.

I set CASSANDRA_ATTR_THRIFT_DEBUG parameter and I received warnings like : PHP Warning: PDOStatement::execute(): PDO Cassandra thrift debug: TSocket::read() recv() <Host: XXX Port: 9160>Connection timed out

My application stopped because connections were not recycled

Any ideas to recycle connections properly ?

Thanks