diff --git a/riptide-failsafe/README.md b/riptide-failsafe/README.md index 4a25386f1..aea323889 100644 --- a/riptide-failsafe/README.md +++ b/riptide-failsafe/README.md @@ -133,8 +133,9 @@ Http.builder().requestFactory(new HttpComponentsClientHttpRequestFactory()) If no executor is specified, the default executor configured by `Failsafe` is used. See [Failsafe DelegatingScheduler class](https://github.com/failsafe-lib/failsafe/blob/master/core/src/main/java/dev/failsafe/internal/util/DelegatingScheduler.java#L111), and also [Failsafe documentation](https://failsafe.dev/async-execution/#executorservice-configuration) for more information. -**Beware** when specifying a custom `ExecutorService` - the `ExecutorService` should have a core pool size or parallelism -of at least 2 in order for [timeouts](https://github.com/failsafe-lib/failsafe/blob/master/core/src/main/java/dev/failsafe/Timeout.java) to work. +**Beware** when specifying a custom `ExecutorService`: +1. The `ExecutorService` should have a core pool size or parallelism of at least 2 in order for [timeouts](https://github.com/failsafe-lib/failsafe/blob/master/core/src/main/java/dev/failsafe/Timeout.java) to work +2. In general, it is not recommended to specify the same `ExecutorService` for multiple `Http` clients ## Usage