smallrye / smallrye-health

https://smallrye.io/
Apache License 2.0
53 stars 36 forks source link

Should we optimize SmallRyeHealthReporter initialization a bit? #562

Open gsmet opened 1 month ago

gsmet commented 1 month ago

It's less pressing since you made the JsonProvider static but given the SmallRyeHealthReporter bean is @ApplicationScoped, the no-arg constructor is called twice when it is initialized.

I was wondering if:

The latter would probably be the less risky move.