Azure / azure-signalr

Azure SignalR Service SDK for .NET

Home Page:https://aka.ms/signalr-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Delay Server Connections until condition is met

rabberbock opened this issue · comments

Question
I am running an application on a k8s cluster. When the app starts up, I do some initialization that can take a few seconds and would like to prevent the Azure SignalR service from sending client connections until after that time.

Can I use InitialHubServerConnectionCount and MaxHubServerConnectionCount for this purpose and change them after startup? Or is there some other recommended way of doing this.

Thanks!

Not for now.

Can I use InitialHubServerConnectionCount and MaxHubServerConnectionCount for this purpose

I am afraid not, they are not hot-reload supported.

Maybe we could add a delay start hook? Thoughts? @vwxyzh