Testability ddd repository (#55)

This commit is contained in:
kos-for-juspay
2022-12-03 07:18:51 +02:00
committed by GitHub
parent 35289df715
commit 200a085fd0
116 changed files with 3551 additions and 1653 deletions

View File

@ -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,