Skip to content

Don't require a DB connection, but release one if it is acquired#1812

Merged
st0012 merged 1 commit intogetsentry:masterfrom
jakeonfire:master
May 7, 2022
Merged

Don't require a DB connection, but release one if it is acquired#1812
st0012 merged 1 commit intogetsentry:masterfrom
jakeonfire:master

Conversation

@jakeonfire
Copy link
Copy Markdown
Contributor

@jakeonfire jakeonfire commented May 7, 2022

solves #1808 which evolved from #1320. tip from https://stackoverflow.com/a/26733385.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 7, 2022

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.45%. Comparing base (fb80e1f) to head (e22dd5d).
⚠️ Report is 550 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1812      +/-   ##
==========================================
- Coverage   98.45%   98.45%   -0.01%     
==========================================
  Files         145      145              
  Lines        8589     8587       -2     
==========================================
- Hits         8456     8454       -2     
  Misses        133      133              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@st0012 st0012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checked that #with_connection uses #release_connection underneath, so calling it directly is even better. Thanks for the fix 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants