Browse Source

[fix]天津QAD地点修正为T5

master
贾荣国 3 years ago
parent
commit
c57a7611d2
  1. 6
      WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/AsnBackgroundWorker/AsnBackgroundWorker.cs
  2. 2
      WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json

6
WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/AsnBackgroundWorker/AsnBackgroundWorker.cs

@ -72,12 +72,6 @@ public class AsnBackgroundWorker : AsyncPeriodicBackgroundWorkerBase
var scpAsns = await scpAsnManager.GetUnreadAsnsAsync(site,maxUid, _options.Value.BatchSize);
if (scpAsns.Count <= 0)
{
Logger.LogInformation($"{site}: no new ASN");
continue;
}
Logger.LogInformation($"{site}: {scpAsns.Count} ASNs were Found");
foreach (var asn in scpAsns)

2
WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json

@ -40,7 +40,7 @@
"RetryTimes": 3,
"BatchSize": 10,
"Receiver": "IACNA_ID",
"Sites": [ "T8", "T9" ]
"Sites": [ "T8", "T5" ]
},
"AlwaysAllowAuthorization": true
}
Loading…
Cancel
Save