dotnet / aspire

An opinionated, cloud ready stack for building observable, production ready, distributed applications in .NET
https://learn.microsoft.com/dotnet/aspire
MIT License
3.79k stars 440 forks source link

SlowDownMonitoringAsync not called when resource reaches steady state. #6134

Closed mitchdenny closed 4 days ago

mitchdenny commented 2 weeks ago

Is there an existing issue for this?

Describe the bug

If the health status reaches a steady state the slow down won't occur because we drop out of the loop before it is called. Found it whilst looking into options for speeding up the health checks here:

https://github.com/dotnet/aspire/issues/6112

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version info

No response

Anything else?

No response

joperezr commented 6 days ago

@mitchdenny Are you planning on working on this this week?