Skip to content

Conversation

@Isaac1m
Copy link
Contributor

@Isaac1m Isaac1m commented Oct 27, 2025

No description provided.

@Isaac1m Isaac1m requested a review from pmustonebi October 27, 2025 15:49
search_endpoint = 'https://rnacentral.org/search'
test_query = 'RNA'
try:
search_response = requests.get(f"{search_endpoint}?q={test_query}", timeout=5)
Copy link
Contributor

Choose a reason for hiding this comment

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

You might want to increase the timeout here to 20 seconds. Searching RNA on the website takes time to return results. Other than that, all looks good!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cheers! I have increased the connect timeout and set a separate (higher) read timeout.

@Isaac1m Isaac1m merged commit a6a3dda into master Oct 28, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants