ackintosh / ganesha

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

Add guzzle failure detector #100

Closed e-zannelli closed 1 year ago

e-zannelli commented 2 years ago

Hello,

We would like to be able to control what is considered a failure.

So here is a very simple implementation of a FailureDetector inspired by what was done for HttpClient.

What do you think?

Thanks.

ackintosh commented 1 year ago

This enhancement has been released in v3.1.0! Thank you for your contribution @e-zannelli . 🎉