Update workers setup

This commit is contained in:
2025-07-10 16:47:13 +07:00
parent d07fc4b1e1
commit c2c181e417
19 changed files with 119 additions and 543 deletions

View File

@@ -0,0 +1,24 @@
using Managing.Application.Abstractions.Services;
using Managing.Application.Workers.Abstractions;
using Microsoft.Extensions.Logging;
using static Managing.Common.Enums;
namespace Managing.Application.Workers;
public class PricesOneHourWorker : PricesBaseWorker<PricesOneHourWorker>
{
public PricesOneHourWorker(
ILogger<PricesOneHourWorker> logger,
IPricesService pricesService,
IStatisticService statisticService,
IWorkerService workerService) : base(
logger,
pricesService,
workerService,
statisticService,
TimeSpan.FromMinutes(30),
WorkerType.PriceOneHour,
Timeframe.OneHour)
{
}
}