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 timeout requests for fetching search results from the upstream search engines #545

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

KekmaTime
Copy link
Contributor

@KekmaTime KekmaTime commented Mar 18, 2024

What does this PR do?

Provides a new HTTP connection setting to the reqwest::ClientBuilder to timeout requests for fetching the search results from the upstream search engines.

Why is this change important?

The reason for including these changes is to timeout connections after a certain user specified period of time. This prevents the connections from hanging on for the response for a long time to return from the upstream search engines which can cause a long a delay for results to show up on the search page. So by working on these change it improves the user experience by not hanging on too long for search results to appear from each upstream engine.

Related issues

Closes #524

…meout requests for fetching the search results from the upstream search engines.
@neon-mmd neon-mmd changed the title Added new HTTP connection setting to the reqwest::ClientBuilder to ti… ✨ Config option to timeout requests for fetching search results from the upstream search engines Mar 18, 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 right away 🚀 🙂 .

@neon-mmd neon-mmd merged commit 2149e32 into neon-mmd:rolling Mar 18, 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 timeout requests for fetching search results from the upstream search engines
2 participants