diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/AsnBackgroundWorker/AsnBackgroundWorker.cs b/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/AsnBackgroundWorker/AsnBackgroundWorker.cs index 143f0ec..cd7f48e 100644 --- a/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/AsnBackgroundWorker/AsnBackgroundWorker.cs +++ b/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) diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json b/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json index c34d4c5..04cbcb2 100644 --- a/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json +++ b/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 } \ No newline at end of file