backport: refactor(database): wrap connection in Arc<Mutex> and add shared_connection()#643
Conversation
…ection() Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review infoConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe database connection storage is refactored from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
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 |
- Rename BalanceUpdated::spendable to confirmed in event_bridge - Use ManagedCoreAccount::spendable_utxos(synced_height) in funding_common Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
Database.connfromMutex<Connection>toArc<Mutex<Connection>>shared_connection()method to get a cloneable reference to the underlying connectionDatabasemethodsTest plan
🤖 Co-authored by Claudius the Magnificent AI Agent
Summary by CodeRabbit