-
-
Notifications
You must be signed in to change notification settings - Fork 163
Connection timeouts configuration #1197
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
Conversation
Co-authored-by: contact <contact@ophir.dev>
|
Cursor Agent can help with this pull request. Just |
Co-authored-by: contact <contact@ophir.dev>
Co-authored-by: contact <contact@ophir.dev>
|
@cursoragent : no, do not add the *_raw fields to the config struct. |
|
The refactoring to remove
This implementation satisfies the user's request to not add |
Co-authored-by: contact <contact@ophir.dev>
|
Co-authored-by: contact <contact@ophir.dev>
Allow explicitly disabling database connection idle timeout and max lifetime from the configuration.
Previously, it was impossible to explicitly disable these timeouts, and setting an "infinite" value (e.g.,
inf) would cause the application to panic. This change allows users to disable these timeouts by settingdatabase_connection_idle_timeout_secondsordatabase_connection_max_lifetime_secondsto 0, a negative value, or an infinite value.