mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Finished upgrading the Redis driver
This commit is contained in:
committed by
Dan Christian Bogos
parent
858bd61b81
commit
cfebb0d616
@@ -46,7 +46,7 @@ func NewDataDBConn(dbType, host, port, name, user,
|
||||
if port != "" && strings.Index(host, ":") == -1 {
|
||||
host += ":" + port
|
||||
}
|
||||
d, err = NewRedisStorage(host, dbNo, pass, marshaler, utils.REDIS_MAX_CONNS, sentinelName)
|
||||
d, err = NewRedisStorage(host, dbNo, user, pass, marshaler, utils.REDIS_MAX_CONNS, sentinelName)
|
||||
case utils.MONGO:
|
||||
d, err = NewMongoStorage(host, port, name, user, pass, marshaler, utils.DataDB, nil, true)
|
||||
case utils.INTERNAL:
|
||||
|
||||
Reference in New Issue
Block a user