Skip to content

Conversation

@mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Feb 3, 2026

Should fix #21713

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@mvdbeek mvdbeek changed the title [25.]1 Make database heartbeat more robust [25.1] Make database heartbeat more robust Feb 3, 2026
@github-actions github-actions bot added the area/database Galaxy's database or data access layer label Feb 3, 2026
@github-actions github-actions bot added this to the 26.1 milestone Feb 3, 2026
@mvdbeek mvdbeek marked this pull request as draft February 3, 2026 20:04
Only check session.connection().invalidated when there's an existing
transaction. This avoids checking out a new connection from the pool
that would never be returned, causing "too many clients" errors during
integration tests.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/database Galaxy's database or data access layer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kombu error

2 participants