> On Feb 14, 2024, at 12:24 AM, Romain Manni-Bucau
> wrote:
>
> Hi Phil,
>
> You are right it can be done in pool - I'm not sure it is the right level
> (for instance in my previous example it will need to expose some
> "getCircuitBreakerState" to see if it can be used or not) but maybe
Hi Phil,
You are right it can be done in pool - I'm not sure it is the right level
(for instance in my previous example it will need to expose some
"getCircuitBreakerState" to see if it can be used or not) but maybe I'm too
used to decorators ;).
The key point for [pool] is the last one, the
Thanks, Romain, this is awesome. I would really like to find a way to get
this kind of thing implemented in [pool] or via enhanced factories. See
more on that below.
On Tue, Feb 13, 2024 at 1:27 PM Romain Manni-Bucau
wrote:
> Hi Phil,
>
> What I used by the past for this kind of thing was to
Hi Phil,
What I used by the past for this kind of thing was to rely on the timeout
of the pool plus in the healthcheck - external to the pool - have some
trigger (the simplest was "if 5 healthchecks fail without any success in
between" for ex), such trigger will spawn a task (think thread even if