修改问题

master
mzhifa 6 months ago
parent df0551888c
commit 71f174472c

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

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

Loading…
Cancel
Save