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

Add `PoolStateMachine` #427

Closed fabianfett closed 8 months ago

codecov-commenter commented 8 months ago

Codecov Report

Merging #427 (2ad5245) into main (17d3c80) will increase coverage by 0.97%. The diff coverage is 70.32%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #427 +/- ## ========================================== + Coverage 58.03% 59.01% +0.97% ========================================== Files 120 120 Lines 8843 9188 +345 ========================================== + Hits 5132 5422 +290 - Misses 3711 3766 +55 ``` | [Files](https://app.codecov.io/gh/vapor/postgres-nio/pull/427?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | Coverage Δ | | |---|---|---| | [...tionPoolModule/PoolStateMachine+RequestQueue.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/427?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%> (ø)` | | | [...nPoolModule/PoolStateMachine+ConnectionGroup.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/427?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Db25uZWN0aW9uUG9vbE1vZHVsZS9Qb29sU3RhdGVNYWNoaW5lK0Nvbm5lY3Rpb25Hcm91cC5zd2lmdA==) | `86.15% <88.88%> (+3.78%)` | :arrow_up: | | [...ources/ConnectionPoolModule/TinyFastSequence.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/427?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Db25uZWN0aW9uUG9vbE1vZHVsZS9UaW55RmFzdFNlcXVlbmNlLnN3aWZ0) | `92.68% <87.23%> (ø)` | | | [...ources/ConnectionPoolModule/PoolStateMachine.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/427?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Db25uZWN0aW9uUG9vbE1vZHVsZS9Qb29sU3RhdGVNYWNoaW5lLnN3aWZ0) | `67.42% <66.10%> (+50.76%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/vapor/postgres-nio/pull/427/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor)