mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
Testability ddd repository (#55)
This commit is contained in:
@ -20,10 +20,7 @@ async fn main() -> BachResult<()> {
|
||||
|
||||
let _ = server.await;
|
||||
|
||||
std::sync::Arc::get_mut(&mut state.store.redis_conn)
|
||||
.expect("Redis connection pool cannot be closed")
|
||||
.close_connections()
|
||||
.await;
|
||||
state.store.close().await;
|
||||
|
||||
Err(BachError::from(std::io::Error::new(
|
||||
std::io::ErrorKind::Other,
|
||||
|
||||
Reference in New Issue
Block a user