Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

feat: Add ability to configure connection timeout#136

Merged
mctavish merged 1 commit intomainfrom
timeout
May 10, 2023
Merged

feat: Add ability to configure connection timeout#136
mctavish merged 1 commit intomainfrom
timeout

Conversation

@mctavish
Copy link
Copy Markdown
Contributor

The connection timeout is currently hardcoded to 2 seconds. It is likely that this is not going to work in all situations, so I'm adding a configuration knob to allow the user to set whatever timeout they'd like.

Depending on feedback, the default timeout may be increased as well. The balance is that if the extension is attempting to discover the database, increases in timeouts will result in slower extension startup.

This PR is related to #135

@mctavish mctavish merged commit a1056c5 into main May 10, 2023
@mctavish mctavish deleted the timeout branch May 10, 2023 15:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants