#2967·Redis

在事务中使用 pubsub 时,结果格式化不良

作者: daurnimator创建于 2015年12月21日更新于 2026年9月16日
标签non critical bugpubsubclass:bug

You'll notice that the exec response returned is 3 elements long:

  • first element is {"subscribe", "test", 1}
  • second element is {"message", "test", "a message"}
  • third element is 1 (probably the result from the publish?)