|
@ -72,12 +72,6 @@ public class AsnBackgroundWorker : AsyncPeriodicBackgroundWorkerBase |
|
|
var scpAsns = await scpAsnManager.GetUnreadAsnsAsync(site,maxUid, _options.Value.BatchSize); |
|
|
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"); |
|
|
Logger.LogInformation($"{site}: {scpAsns.Count} ASNs were Found"); |
|
|
|
|
|
|
|
|
foreach (var asn in scpAsns) |
|
|
foreach (var asn in scpAsns) |
|
|