kalaspuff / redis-cache-zend-framework

🗄 Redis cache backend for Zend Framework with support for tags. Uses PHP module phpredis. [not actively maintained]
BSD 3-Clause "New" or "Revised" License
44 stars 30 forks source link

Add support for connection timeout #10

Open sebb opened 5 years ago

sebb commented 5 years ago

The default behaviour stays the same, a timeout of 0s means unlimited as specified on https://github.com/phpredis/phpredis#connect-open

This simply allows the connection to fail a lot faster in case Redis is somehow unreachable.