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

Configurable session timeout #278

Open
Mayuri-Mense opened this issue Jul 2, 2024 · 1 comment
Open

Configurable session timeout #278

Mayuri-Mense opened this issue Jul 2, 2024 · 1 comment

Comments

@Mayuri-Mense
Copy link

Hi, I noticed that the write wait is 10 seconds and the ping wait is 60 seconds by default in the servertimeout configuration.

My question is: Can we set the ping wait for each client individually? like per session ?

Currently, charger's heartbeat interval is set by the interval specified in BootConfiguration.conf. By using server code, we can ensure that heartbeat will always be less than ping wait; however, if this is added as a configuration key that the user can change, the server should also handle the situation in which the user's specified heartbeat exceeds ping wait.

Please help to solve the problem

@lorenzodonini
Copy link
Owner

This is currently not supported and it's a tricky requirement. How would you configure different heartbeats for different clients though?

I don't know when I'll have the time to work on this, but I'm happy to take contributions!

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