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 connection expiration to deployment_updater_schema #2420

Conversation

andy-paine
Copy link
Contributor

A short explanation of the proposed change:

Add connection expiration to the deployment updater schema so that it can be configured correctly.

An explanation of the use cases your change solves

The deployment updater uses the same DB setup classes as the main application and is deployed as a long running process so may well benefit from expiring connections

Links to any other associated PRs

#2351

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

The deployment updater uses the same DB setup classes as the main
application and is deployed as a long running process so may well
benefit from expiring connections. Add it to the schema so that it can
be configured correctly.

Also remove an unnecessary if since it is already inside an if block
@sweinstein22
Copy link
Contributor

Looks good to me, thanks for the PR!

@sweinstein22 sweinstein22 merged commit dd8721f into cloudfoundry:main Jul 19, 2021
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.

None yet

3 participants