EtienneDx / git-mentor

A git server with built-in tools for teaching programming
MIT License
2 stars 0 forks source link

feat: Switched to connection pool #34

Closed EtienneDx closed 6 months ago

EtienneDx commented 6 months ago

To achieve a more maintainable code and better handling of the database, I switched to using a connection pool. Had to do some weird stuff around db testing.

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 61.60714% with 43 lines in your changes are missing coverage. Please review.

Project coverage is 85.22%. Comparing base (6bc0324) to head (1c65828).

Files Patch % Lines
database/src/connection_pool.rs 7.14% 26 Missing :warning:
gmt-api/src/services/mod.rs 0.00% 8 Missing :warning:
gmt-api/src/main.rs 0.00% 5 Missing :warning:
database/src/db_handle/mod.rs 33.33% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #34 +/- ## ========================================== - Coverage 86.24% 85.22% -1.03% ========================================== Files 33 34 +1 Lines 2341 2382 +41 ========================================== + Hits 2019 2030 +11 - Misses 322 352 +30 ```

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