worker чтение ESPPTemplates переведено на очередь MQ

This commit is contained in:
Mikhail Kuznetsov
2023-09-01 11:47:39 +10:00
parent 7ec51c7c98
commit d6f1752465
10 changed files with 122 additions and 14 deletions

View File

@@ -15,8 +15,10 @@ namespace PARR.EsppTemplateSyncWorker
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
await templateSyncer.StartAsync();
//while (!stoppingToken.IsCancellationRequested)
//{
// _logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now);

View File

@@ -33,6 +33,11 @@
},
"GlobalSettings": {
"MqSettings": {
"HostName": "10.99.253.216",
"QueueName": "parr-espp-templates",
"UserName": "rmuser",
"Password": "rmpassword",
"CheckIntervalSeconds": 30
},
"StorageSettings": {