feat(api, Core, TaskReconciliationWorker): Воркер обработки зависших задач. Доработка логики.
This commit is contained in:
18
PARR.TaskReconciliationWorker/Settings/WorkerSettings.cs
Normal file
18
PARR.TaskReconciliationWorker/Settings/WorkerSettings.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using PARR.Domain.Enums;
|
||||
using PARR.Domain.Settings;
|
||||
|
||||
namespace PARR.TaskReconciliationWorker.Settings
|
||||
{
|
||||
internal class WorkerSettings : IReconciliationSettings
|
||||
{
|
||||
public TimeSpan CheckInterval { get; set; } = TimeSpan.FromMinutes(10);
|
||||
public int MaxTaskPerRun { get; set; } = 100;
|
||||
|
||||
public MqSettings MqSettings { get; set; } = new();
|
||||
}
|
||||
|
||||
internal class MqSettings
|
||||
{
|
||||
public Dictionary<TaskTypeEnum, MqSettingsBase> Tasks { get; set; } = new();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user