dbt-redshift
dbt-redshift copied to clipboard
feat: Add TCP keepalive configuration for Redshift connections [DRAFT]
Add support for configuring TCP keepalive settings in Redshift connections to help prevent connection timeouts in long-running queries. This change:
- Adds TCP keepalive configuration options to RedshiftCredentials
- Sets sensible defaults (enabled, idle=60s, interval=30s, count=5)
- Passes keepalive settings through to the connection method
Default values align with common TCP keepalive configurations and should work well for most use cases while preventing idle connection drops.
TODO
- [ ] Finalize redshift-connector version once keepalive changes are merged
- [ ] Add documentation for new configuration options
- [ ] Add tests for keepalive settings
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Luis Garza. This is most likely caused by a git client misconfiguration; please make sure to:
- check if your git client is configured with an email to sign commits
git config --list | grep email - If not, set it up using
git config --global user.email [email protected] - Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails