1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Add support for MODULE LOADEX command (#2490)

* Added support for MODULE LOADEX command

Co-authored-by: Anurag Bandyopadhyay <angbpy@gmail.com>
This commit is contained in:
Kristian Tsivkov
2023-04-18 15:03:47 +02:00
committed by GitHub
parent d7c6c3598b
commit 38ca7c1680
4 changed files with 85 additions and 2 deletions

View File

@ -314,7 +314,7 @@ func startRedis(port string, args ...string) (*redisProcess, error) {
return nil, err
}
baseArgs := []string{filepath.Join(dir, "redis.conf"), "--port", port, "--dir", dir}
baseArgs := []string{filepath.Join(dir, "redis.conf"), "--port", port, "--dir", dir, "--enable-module-command", "yes"}
process, err := execCmd(redisServerBin, append(baseArgs, args...)...)
if err != nil {
return nil, err