Skip to content

Commit

Permalink
Update redispipeline.h (#954)
Browse files Browse the repository at this point in the history
use "\n" instead of semicolon to separate redis commands in a c++ string
  • Loading branch information
a114j0y authored Dec 2, 2024
1 parent 6bac82b commit aa1021f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/redispipeline.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class RedisPipeline {
return;

m_channels.insert(channel);
m_luaPub += "redis.call('PUBLISH', '" + channel + "', 'G');";
m_luaPub += "redis.call('PUBLISH', '" + channel + "', 'G')\n";
m_shaPub = loadRedisScript(m_luaPub);
}

Expand Down

0 comments on commit aa1021f

Please sign in to comment.