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
Background: I write Blazor Server app and I am concerned with the time it takes to get from "host stopping" to "host stopped".
I am not asking in sense "please help me fix my current app", I am asking for general directions what could I read, what could I check, where could I inject something to understand what is going on when host is stopping.
The only thing I figured out so far, that if there is no page opened for my service, the stopping is almost immediate. But this kind of checking is not effective.
Update: so far I found setting shutdown timeout on builder services:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Background: I write Blazor Server app and I am concerned with the time it takes to get from "host stopping" to "host stopped".
I am not asking in sense "please help me fix my current app", I am asking for general directions what could I read, what could I check, where could I inject something to understand what is going on when host is stopping.
The only thing I figured out so far, that if there is no page opened for my service, the stopping is almost immediate. But this kind of checking is not effective.
Update: so far I found setting shutdown timeout on builder services:
reduces stop time to 5 seconds. This is still not zero though.
Beta Was this translation helpful? Give feedback.
All reactions