mirror of
https://github.com/ThingsGateway/ThingsGateway.git
synced 2026-10-29 04:16:49 +08:00
更新网关双冗余
This commit is contained in:
@@ -126,6 +126,9 @@ public class ManagementWoker : BackgroundService
|
||||
GlobalData = _serviceScope.ServiceProvider.GetService<GlobalData>();
|
||||
Options = App.GetOptions<ManagementOptions>();
|
||||
IsStartBusinessDevice = Options.Redundancy.Enable ? Options.Redundancy.IsStartBusinessDevice : true;
|
||||
//初始化直接启动
|
||||
IsStart = true;
|
||||
StartLock.Release();
|
||||
if (Options.Redundancy.Enable)
|
||||
{
|
||||
var udpDmtp = GetUdpDmtp(Options);
|
||||
|
||||
Reference in New Issue
Block a user