Skip to content

Commit

Permalink
Improve Redis connection logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Mar 19, 2024
1 parent 4283184 commit e35bb90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nautilus_core/infrastructure/src/redis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl CacheDatabase for RedisCacheDatabase {
let database_config = config
.get("database")
.ok_or(anyhow::anyhow!("No database config"))?;
debug!("Creating cache read redis connection");
debug!("Creating cache-read redis connection");
let conn = create_redis_connection(&database_config.clone())?;

let (tx, rx) = channel::<DatabaseCommand>();
Expand Down Expand Up @@ -172,7 +172,7 @@ impl CacheDatabase for RedisCacheDatabase {
) {
let empty = Value::Object(serde_json::Map::new());
let database_config = config.get("database").unwrap_or(&empty);
debug!("Creating cache write redis connection");
debug!("Creating cache-write redis connection");
let mut conn = create_redis_connection(&database_config.clone()).unwrap();

// Buffering
Expand Down

0 comments on commit e35bb90

Please sign in to comment.