diff --git a/src/commands/cmd_stream.cc b/src/commands/cmd_stream.cc index 0fe1cd3bccf..086849dddc0 100644 --- a/src/commands/cmd_stream.cc +++ b/src/commands/cmd_stream.cc @@ -1892,12 +1892,12 @@ REDIS_REGISTER_COMMANDS(Stream, MakeCmdAttr("xack", -4, "write no-d MakeCmdAttr("xautoclaim", -6, "write", 1, 1, 1), MakeCmdAttr("xgroup", -4, "write", 2, 2, 1), MakeCmdAttr("xlen", -2, "read-only", 1, 1, 1), - MakeCmdAttr("xinfo", -2, "read-only", NO_KEY), + MakeCmdAttr("xinfo", -2, "read-only", -1, -1, 1), MakeCmdAttr("xpending", -3, "read-only", 1, 1, 1), MakeCmdAttr("xrange", -4, "read-only", 1, 1, 1), MakeCmdAttr("xrevrange", -2, "read-only", 1, 1, 1), - MakeCmdAttr("xread", -4, "read-only blocking", NO_KEY), - MakeCmdAttr("xreadgroup", -7, "write blocking", NO_KEY), + MakeCmdAttr("xread", -4, "read-only blocking", -1, -1, 1), + MakeCmdAttr("xreadgroup", -7, "write blocking", -1, -1, 1), MakeCmdAttr("xtrim", -4, "write no-dbsize-check", 1, 1, 1), MakeCmdAttr("xsetid", -3, "write", 1, 1, 1))