Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
Fix: set the Redis client name
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Jun 5, 2022
1 parent ac862f5 commit 7fa4acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rusty-shared-redis/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl Redis {

let client = RedisClient::new(config);
connect(&client).await?;
client.client_setname("fred");
client.client_setname("fred").await?; // FIXME: use bin crate name.
let script_hashes = load_scripts(&client).await?;

Ok(Self {
Expand Down

0 comments on commit 7fa4acd

Please sign in to comment.