This commit is contained in:
2024-10-13 20:49:50 -05:00
parent 1e9c269f07
commit cd9682379d
9 changed files with 118 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using ProperDI.Azure.Endpoints.ResourceGroup.LogLooker;
using ProperDI.Azure.Endpoints.ResourceGroup;
public class RoleAssesorBackgroundService : IHostedService, IDisposable
{
@@ -57,7 +57,7 @@ public class RoleAssesorBackgroundService : IHostedService, IDisposable
if (cancellationToken.IsCancellationRequested)
return;
await _activityLogReader.Scan(cancellationToken);
await _activityLogReader.ScanAppAsync("Test", cancellationToken, null);
}
catch (OperationCanceledException)
{