vapor / postgres-nio

🐘 Non-blocking, event-driven Swift client for PostgreSQL.
https://api.vapor.codes/postgresnio/documentation/postgresnio/
MIT License
305 stars 70 forks source link

Ensure pool runs until all connections are closed #429

Closed fabianfett closed 8 months ago

fabianfett commented 8 months ago
codecov-commenter commented 8 months ago

Codecov Report

Merging #429 (0c11d37) into main (468ae25) will decrease coverage by 0.02%. The diff coverage is 95.45%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #429 +/- ## ========================================== - Coverage 60.72% 60.70% -0.02% ========================================== Files 121 121 Lines 9481 9489 +8 ========================================== + Hits 5757 5760 +3 - Misses 3724 3729 +5 ``` | [Files](https://app.codecov.io/gh/vapor/postgres-nio/pull/429?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | Coverage Δ | | |---|---|---| | [Sources/ConnectionPoolModule/ConnectionPool.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/429?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Db25uZWN0aW9uUG9vbE1vZHVsZS9Db25uZWN0aW9uUG9vbC5zd2lmdA==) | `76.80% <100.00%> (+1.49%)` | :arrow_up: | | [...tionPoolModule/PoolStateMachine+RequestQueue.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/429?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Db25uZWN0aW9uUG9vbE1vZHVsZS9Qb29sU3RhdGVNYWNoaW5lK1JlcXVlc3RRdWV1ZS5zd2lmdA==) | `100.00% <100.00%> (ø)` | | | [...ources/ConnectionPoolModule/PoolStateMachine.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/429?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Db25uZWN0aW9uUG9vbE1vZHVsZS9Qb29sU3RhdGVNYWNoaW5lLnN3aWZ0) | `79.20% <92.30%> (-2.17%)` | :arrow_down: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/vapor/postgres-nio/pull/429/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor)