Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

fix(BUX-312): hanging transactions on database - #539

Merged
dorzepowski merged 2 commits into
masterfrom
fix/bux-312-to-many-connecitons
Jan 17, 2024
Merged

dorzepowski merged 2 commits into
masterfrom
fix/bux-312-to-many-connecitons

Conversation

@dorzepowski

Copy link
Copy Markdown
Contributor

Pull Request Checklist

  • 📖 I created my PR using provided : CODE_STANDARDS
  • 📖 I have read the short Code of Conduct: CODE_OF_CONDUCT
  • 🏠 I tested my changes locally.
  • ✅ I have provided tests for my changes.
  • 📝 I have used conventional commits.
  • 📗 I have updated any related documentation.
  • 💾 PR was issued based on the Github or Jira issue.

@dorzepowski
dorzepowski requested a review from a team as a code owner January 16, 2024 15:02
@mergify mergify Bot added the bug-P3 Lowest rated bug, affects nearly none or low-impact label Jan 16, 2024
@dorzepowski
dorzepowski force-pushed the fix/bux-312-to-many-connecitons branch from 5d09c21 to 3b22db7 Compare January 17, 2024 06:21
@codecov

codecov Bot commented Jan 17, 2024 •

Copy link
Copy Markdown

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (92aa245) 53.29% compared to head (f884f0c) 53.28%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #539      +/-   ##
==========================================
- Coverage   53.29%   53.28%   -0.01%     
==========================================
  Files         110      110              
  Lines       10844    10854      +10     
==========================================
+ Hits         5779     5784       +5     
- Misses       4600     4605       +5     
  Partials      465      465              
Flag Coverage Δ
unittests 53.28% <50.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
model_save.go 61.05% <50.00%> (-1.31%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 92aa245...f884f0c. Read the comment docs.

@chris-4chain chris-4chain left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it would be advantageous to either add a comment or encapsulate the rollback in a function, to clearly inform other programmers that this code is essential for preventing database connection leaks.

@dorzepowski
dorzepowski force-pushed the fix/bux-312-to-many-connecitons branch from 400ae39 to f884f0c Compare January 17, 2024 08:00
@dorzepowski
dorzepowski merged commit 693dd8c into master Jan 17, 2024
@dorzepowski
dorzepowski deleted the fix/bux-312-to-many-connecitons branch January 17, 2024 08:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug-P3 Lowest rated bug, affects nearly none or low-impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants