typelevel / skunk

A data access library for Scala + Postgres.
https://typelevel.org/skunk/
MIT License
1.59k stars 163 forks source link

Fix #1042 - deadlock in session pool #1065

Closed mpilquist closed 8 months ago

mpilquist commented 8 months ago

Fixes #1042. Issue occurred when (a) allocated resource failed to be returned to the pool and (b) resource finalizer also failed with an error.

codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.94%. Comparing base (1b65f74) to head (b061c52).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1065 +/- ## ========================================== + Coverage 83.91% 83.94% +0.02% ========================================== Files 138 138 Lines 2133 2136 +3 Branches 243 243 ========================================== + Hits 1790 1793 +3 Misses 343 343 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.