Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay Server Connections until condition is met #1919

Open
rabberbock opened this issue Feb 23, 2024 · 1 comment
Open

Delay Server Connections until condition is met #1919

rabberbock opened this issue Feb 23, 2024 · 1 comment

Comments

@rabberbock
Copy link

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!

@vicancy
Copy link
Member

vicancy commented Mar 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants