You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want customize the keys to be used when storing circuit breaker information, set an instance which implements [StorageKeysInterface](https://github.com/ackintosh/ganesha/blob/master/src/Ganesha/Storage/StorageKeysInterface.php).
295
+
If you want to customize the keys to be used when storing circuit breaker information, set an instance which implements [StorageKeysInterface](https://github.com/ackintosh/ganesha/blob/master/src/Ganesha/Storage/StorageKeysInterface.php).
296
296
297
297
```php
298
298
class YourStorageKeys implements StorageKeysInterface
@@ -544,7 +544,7 @@ $ganeshaClient = new GaneshaHttpClient(
544
544
As documented in [Usage](https://github.com/ackintosh/ganesha#usage), Ganesha detects failures for each `$service`.
545
545
Below, We will show you how GaneshaHttpClient specify failure explicitly.
546
546
547
-
By default Ganesha considers a request is successful as soon as the server responded, whatever the HTTP status code.
547
+
By default, Ganesha considers a request is successful as soon as the server responded, whatever the HTTP status code.
548
548
549
549
Alternatively, you can use the `RestFailureDetector` implementation of `FailureDetectorInterface` to specify a list of HTTP Status Code to be considered as failure via an option passed to client.
550
550
This implementation will consider failure when these HTTP status codes are returned by the server:
@@ -659,18 +659,29 @@ Here are some articles/videos introduce Ganesha! All of them are really shining
659
659
We can run unit tests on a Docker container, so it is not necessary to install the dependencies in your machine.
$ docker-compose run --rm -w /tmp/ganesha -u ganesha client vendor/bin/phpunit
667
670
```
668
671
669
672
## [Requirements](#table-of-contents)
670
673
671
-
- Ganesha supports PHP 7.3 or higher.
672
674
- An extension or client library which is used by [the storage adapter](https://github.com/ackintosh/ganesha#adapters) you've choice will be required. Please check the [Adapters](https://github.com/ackintosh/ganesha#adapters) section for details.
0 commit comments