feat: granularised db connection usage in superposition crate#871
feat: granularised db connection usage in superposition crate#871ayushjain17 wants to merge 1 commit intomainfrom
Conversation
Changed Files
|
WalkthroughThis PR migrates database access patterns across multiple handlers and utilities from per-request DbConnection parameters to a centralized connection pool approach, introducing a new Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Problem
DB Connection from pool is being held up for the entirety of the request processing duration
Solution
Granularise getting and usage of DB Connection from the pool limited to the query execution only
Summary by CodeRabbit