Closed adamchainz closed 1 year ago
Merging #185 (eb1d438) into master (ccbcc8f) will not change coverage. The diff coverage is
100.00%
.:exclamation: Current head eb1d438 differs from pull request most recent head fb30e27. Consider uploading reports for the commit fb30e27 to get more accurate results
@@ Coverage Diff @@
## master #185 +/- ##
=======================================
Coverage 86.15% 86.15%
=======================================
Files 1 1
Lines 65 65
Branches 13 13
=======================================
Hits 56 56
Misses 4 4
Partials 5 5
Impacted Files | Coverage Δ | |
---|---|---|
dj_database_url.py | 86.15% <100.00%> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Add support for the new
CONN_HEALTH_CHECKS
setting from Django 4.1 (release note). This is a useful feature that prevents failed page loads due to a persistent connection remaining open whilst the database disconnects on its end, due to e.g. restarting.On the way, I’ve made all the documentation examples consistent in recommending
conn_max_age
and nowconn_health_checks
, and added syntax highlighting.