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

Add timeouts to database creation/deletion #71

Merged
merged 1 commit into from
Jul 31, 2023
Merged

Add timeouts to database creation/deletion #71

merged 1 commit into from
Jul 31, 2023

Conversation

mmcgr
Copy link
Contributor

@mmcgr mmcgr commented Jul 28, 2023

Database creation/deletion calls should return immediately, whether successful or not. There have been timeouts, however, with no logs, that could conceivably relate to database deletion and transient network issues. These are also the only network calls left that do not have a timeout. Since there is no apparent downside, and possibly a benefit, I've added read timeouts.

This PR is inspired by log-less timeouts such as https://github.com/RelationalAI/raicode/actions/runs/5668378729/job/15359135487 - there's not a lot else to be going wrong.

@mmcgr mmcgr requested a review from mcmcgrath13 July 28, 2023 07:54
Copy link
Contributor

@mcmcgrath13 mcmcgrath13 left a comment

Choose a reason for hiding this comment

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

⏱️

@mmcgr mmcgr merged commit f13b2ce into master Jul 31, 2023
2 checks passed
@mmcgr mmcgr deleted the mm-timeouts branch July 31, 2023 23:38
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.

2 participants