mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-09 02:30:20 +08:00
support multi transaction
This commit is contained in:
@@ -21,7 +21,7 @@ func (f *connectionFactory) MakeObject(ctx context.Context) (*pool.PooledObject,
|
||||
c.Start()
|
||||
// all peers of cluster should use the same password
|
||||
if config.Properties.RequirePass != "" {
|
||||
c.Send(utils.ToBytesList("AUTH", config.Properties.RequirePass))
|
||||
c.Send(utils.ToCmdLine("AUTH", config.Properties.RequirePass))
|
||||
}
|
||||
return pool.NewPooledObject(c), nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user