From 54f7c64d9bf7ecf1675bed66bf8be4180f6478de Mon Sep 17 00:00:00 2001 From: Yijiao Qin Date: Wed, 20 Nov 2024 19:34:03 -0800 Subject: [PATCH] Update redispipeline.h replace ";" with "\n" --- common/redispipeline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/redispipeline.h b/common/redispipeline.h index be7561b6..96f97ab8 100644 --- a/common/redispipeline.h +++ b/common/redispipeline.h @@ -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); }