|
@@ -23,6 +23,7 @@ namespace CallCenter.Caching
|
|
|
{
|
|
|
config.DBConfig.Endpoints.Add(new ServerEndPoint(options.ConnectionString, options.Port));
|
|
|
config.DBConfig.Database = options.Database;
|
|
|
+ config.DBConfig.Password = options.Password;
|
|
|
config.SerializerName = "xjson";
|
|
|
}, "r1");
|
|
|
|
|
@@ -60,6 +61,8 @@ namespace CallCenter.Caching
|
|
|
|
|
|
public int Port { get; set; } = 6379;
|
|
|
|
|
|
+ public string Password { get; set; }
|
|
|
+
|
|
|
public int Database { get; set; }
|
|
|
|
|
|
public string Prefix { get; set; }
|