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

✨ Config option to keep the websurfx server connection alive for a certain period for subsequent requests #568

Conversation

ddotthomas
Copy link
Contributor

@ddotthomas ddotthomas commented May 9, 2024

What does this PR do?

Provided a new config option to keep client connections between the server and the client alive for a certain period of time specified via the config. The default value for this option is chosen to be 120 seconds (2 minutes).

Why is this change important?

Helps reduce the latency between the request and response time for the search results. As a reduction of overhead normally required to reconnect.

How to test this PR locally?

It can be tested by installing and running Websurfx as mentioned in the docs and on the readme and by launching the browser and thoroughly testing. By verifying the server connections are still established by checking network sockets via network analysis tool.

Related issues

Closes #558

@neon-mmd neon-mmd changed the title 🔧 Added client connection keep alive option ✨ Config option to keep the websurfx server connection alive for a certain period for subsequent requests May 9, 2024
@neon-mmd neon-mmd added this to the Complete v2.0.0 release milestone May 9, 2024
Copy link
Owner

@neon-mmd neon-mmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ❤️ for working on this PR. We really appreciate it 👍 Since everything looks good. We will merge this PR as soon as possible 🙂.

@neon-mmd neon-mmd merged commit 5d06cce into neon-mmd:rolling May 9, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

✨ Config option to keep the websurfx server connection alive for a certain period for subsequent requests
2 participants