db change to read lock
This commit is contained in:
parent
c575d06bf0
commit
d656eb26a7
@ -190,6 +190,7 @@ pub fn establish_pool_db_connection(
|
||||
|
||||
DB_POOL_CONNECTION
|
||||
.read()
|
||||
.unwrap()
|
||||
.get()
|
||||
.unwrap_or_else(|_| panic!("Error connecting to db pool"))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user