Skip to content

Commit

Permalink
feat: use single redis con
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasti810 committed Jul 19, 2024
1 parent 4f7cee1 commit 99618c3
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 164 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use keystore_rs::{KeyChain, KeyStore, KeyStoreType};
use crate::cfg::{CommandLineArgs, Commands};
use node_types::{lightclient::LightClient, sequencer::Sequencer, NodeType};
use std::sync::Arc;
use storage::RedisConnections;
use storage::RedisConnection;

#[macro_use]
extern crate log;
Expand Down Expand Up @@ -48,7 +48,7 @@ async fn main() -> std::io::Result<()> {
"redis configuration not found",
)
})?;
let redis_connections = RedisConnections::new(&redis_config)
let redis_connections = RedisConnection::new(&redis_config)
.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e.to_string()))?;

let signing_key = KeyStoreType::KeyChain(KeyChain)
Expand Down
Loading

0 comments on commit 99618c3

Please sign in to comment.