mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-20 21:25:16 -05:00
[PR #5037] [CLOSED] enchancement: use Arc + Mutex for dbpool instance instead clone() #7191
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/5037
Author: @sillent
Created: 10/3/2024
Status: ❌ Closed
Base:
main← Head:feat/arc📝 Commits (7)
e8b7a3fuse arc for pool of db047f674arc for db pool74273e5arc for dbpoolb72498cuse Arc::clone semantic2fcc353refactor: use RwLock on DbPool instead Mutex06aa6fdmerge main for resolve conflict2f340fbremoved commented use block📊 Changes
9 files changed (+51 additions, -35 deletions)
View changed files
📝
src/api/core/accounts.rs(+5 -2)📝
src/api/core/ciphers.rs(+4 -2)📝
src/api/core/emergency_access.rs(+7 -4)📝
src/api/core/events.rs(+4 -3)📝
src/api/core/sends.rs(+4 -2)📝
src/api/core/two_factor/duo_oidc.rs(+4 -3)📝
src/api/core/two_factor/mod.rs(+5 -2)📝
src/db/mod.rs(+3 -3)📝
src/main.rs(+15 -14)📄 Description
Hi, this is PR with minor changes - use Arc::clone instead .clone() instance of DbPool
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.