protected async override Task ExecuteJobAsync(IJobExecutionContext context)
        {
            _logger.LogInformation(Constants.BypassFiltersEventId, "Execute job task: RebuildIndexesAsync");
            await _maintenanceRepository.RebuildIndexesAsync();

            _logger.LogInformation(Constants.BypassFiltersEventId, "Finished job task: RebuildIndexesAsync");
        }
Esempio n. 2
0
 protected async override Task ExecuteJobAsync(IJobExecutionContext context)
 {
     await _maintenanceRepository.RebuildIndexesAsync();
 }