Skip to content

Commit

Permalink
migrate the name to server in benchmark
Browse files Browse the repository at this point in the history
Signed-off-by: Shivshankar-Reddy <[email protected]>
  • Loading branch information
Shivshankar-Reddy committed Sep 13, 2024
1 parent 3cc619f commit 156d30a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/valkey-benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ static redisContext *getRedisContext(const char *ip, int port, const char *hosts
else
ctx = redisConnectUnix(hostsocket);
if (ctx == NULL || ctx->err) {
fprintf(stderr, "Could not connect to Redis at ");
fprintf(stderr, "Could not connect to server at ");
char *err = (ctx != NULL ? ctx->errstr : "");
if (hostsocket == NULL)
fprintf(stderr, "%s:%d: %s\n", ip, port, err);
Expand Down Expand Up @@ -648,7 +648,7 @@ static client createClient(char *cmd, size_t len, client from, int thread_id) {
c->context = redisConnectUnixNonBlock(config.hostsocket);
}
if (c->context->err) {
fprintf(stderr, "Could not connect to Redis at ");
fprintf(stderr, "Could not connect to server at ");
if (config.hostsocket == NULL || is_cluster_client)
fprintf(stderr, "%s:%d: %s\n", ip, port, c->context->errstr);
else
Expand Down

0 comments on commit 156d30a

Please sign in to comment.