neo4j-php / Bolt

PHP library to provide connectivity to graph database over TCP socket with Bolt specification
https://packagist.org/packages/stefanak-michal/bolt
MIT License
73 stars 10 forks source link

Added reconfigurable timeouts on IConnection #77

Closed transistive closed 2 years ago

transistive commented 2 years ago

Hello,

This PR is as a response to this issue: https://github.com/neo4j-php/neo4j-php-client/issues/102

Reconfigurable timeouts make it possible to set up timeout on a per-query basis, which is essential to get in line with the official drivers.

I also included a test case showing how to recover from timeouts.

I hope everything is up to standard,

Kind regards,

Ghlen