ackintosh / ganesha

:elephant: A Circuit Breaker pattern implementation for PHP applications.
https://ackintosh.github.io/ganesha/
MIT License
585 stars 42 forks source link

RedisStore use ClientInterface instead of Client #95

Closed fhjbalfoort closed 2 years ago

fhjbalfoort commented 2 years ago

We use RedisStore in combination with Predis. We wrap the default client with metric but RedisStore doesn't accept a ClientInterface so we are stuck with passing a Client.

I changed the RedisStore so that it will accept a ClientInterface instead of a Client

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.3%) to 92.456% when pulling 3a8c69e1761c2f7feccce96b0fc1241ae0be7dbf on fhjbalfoort:master into 7c7dcacda51777e847f3bd4be4d940682426a2d4 on ackintosh:master.

ackintosh commented 2 years ago

This pull request has been released as v2.0.2. 🎉 https://github.com/ackintosh/ganesha/releases/tag/2.0.2