Get hcs request result separately

This commit is contained in:
2025-10-31 16:44:54 +09:00
parent a37791d615
commit 6fc2db95ec
6 changed files with 113 additions and 10 deletions

View File

@ -60,7 +60,7 @@ namespace Hcs.WebApp.BackgroundServices
using var scope = scopeFactory.CreateScope();
var headquartersService = scope.ServiceProvider.GetRequiredService<HeadquartersService>();
var operations = await headquartersService.GetInitiatedOperationsAsync();
var operations = await headquartersService.GetNotExecutedOperationsAsync();
foreach (var operation in operations)
{
state.EnqueueOperation(operation);
@ -70,7 +70,7 @@ namespace Hcs.WebApp.BackgroundServices
private void InitializeClient()
{
logger = new ActionLogger();
messageCapturer = new FileMessageCapturer("messages", logger);
messageCapturer = new FileMessageCapturer("outgoing", logger);
using var scope = scopeFactory.CreateScope();
var configuration = scope.ServiceProvider.GetRequiredService<IConfiguration>();