修改问题

master
mzhifa 4 months ago
parent df0551888c
commit 71f174472c

@ -14,12 +14,12 @@ namespace Txgy.RBS.Framework.RedisHelper.Init
///
/// 默认6379端口
/// </summary>
public string WriteServerList = "127.0.0.1:6379";
public string WriteServerList = "beijingtianxiangguoyue@127.0.0.1:6379";
/// <summary>
/// 可读的Redis链接地址
/// format:ip1,ip2
/// </summary>
public string ReadServerList = "127.0.0.1:6379";
public string ReadServerList = "beijingtianxiangguoyue@127.0.0.1:6379";
/// <summary>
/// 最大写链接数
/// </summary>

@ -77,7 +77,7 @@ namespace Txgy.RBS.Server.WebApi.Register
process.EnableRaisingEvents = true;
process.StartInfo.FileName = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, CommonData.RedisDefaultPath, "server.exe"));
process.StartInfo.WorkingDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, CommonData.RedisDefaultPath);
// process.StartInfo.Arguments = "service.conf";
process.StartInfo.Arguments = "service.conf";
Debug.WriteLine($"*******ProcessName:{process.StartInfo.FileName}, arguments:{process.StartInfo.Arguments}*********");
process.StartInfo.UseShellExecute = true;
process.StartInfo.CreateNoWindow = false;

Loading…
Cancel
Save