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

About the keepAliveTimeout setting value of the node server (hapi) #639

Open
yu-fukusako opened this issue Nov 14, 2024 · 1 comment
Open

Comments

@yu-fukusako
Copy link

I think the keepAliveTimeout setting value of the node server (hapi) is the default.
With this setting, the session will be disconnected from the STH-Comet side at a timing the client does not expect.
(In fact, a similar issue has been reported with the hapi issue. https://github.com/hapijs/hapi/issues/3738)

Is it possible to set keepAliveTimeout at startup?
For example, set via environment variables or command line

@AlvaroVega
Copy link
Member

IMHO some code should be added to https://github.com/telefonicaid/fiware-sth-comet/blob/master/lib/server/sthServer.js to allow set keepAliveTimeout for hapi as a custom configuration value. Currently sth uses hapi v16, so I'm not sure if is implemented

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