mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Speed up connections by sending SetInfo via a pipeline (#2880)
* Send Client SetInfo via pipe * Fix ACL test * Add client set info to acl command rules
This commit is contained in:
@ -324,7 +324,7 @@ var _ = Describe("SentinelAclAuth", func() {
|
||||
BeforeEach(func() {
|
||||
authCmd := redis.NewStatusCmd(ctx, "ACL", "SETUSER", aclSentinelUsername, "ON",
|
||||
">"+aclSentinelPassword, "-@all", "+auth", "+client|getname", "+client|id", "+client|setname",
|
||||
"+command", "+hello", "+ping", "+role", "+sentinel|get-master-addr-by-name", "+sentinel|master",
|
||||
"+command", "+hello", "+ping", "+client|setinfo", "+role", "+sentinel|get-master-addr-by-name", "+sentinel|master",
|
||||
"+sentinel|myid", "+sentinel|replicas", "+sentinel|sentinels")
|
||||
|
||||
for _, process := range sentinels() {
|
||||
|
Reference in New Issue
Block a user