Fulfill export executor

This commit is contained in:
2025-10-27 10:17:08 +09:00
parent 7c35c9a7df
commit 9e9845d446
6 changed files with 23 additions and 7 deletions

View File

@ -7,13 +7,13 @@ using Hcs.WebApp.Services;
namespace Hcs.WebApp.BackgroundServices
{
public class OperationExecutionService(OperationExecutionState state, IServiceScopeFactory scopeFactory) : BackgroundService
public class OperationExecutionService(OperationExecutionState state, ExecutorFactory executorFactory, IServiceScopeFactory scopeFactory) : BackgroundService
{
private const int SLEEP_TIME = 30000;
private readonly OperationExecutionState state = state;
private readonly ExecutorFactory executorFactory = executorFactory;
private readonly IServiceScopeFactory scopeFactory = scopeFactory;
private readonly ExecutorFactory executorFactory = new();
private Broker.Logger.ILogger logger;
private IMessageCapturer messageCapturer;