From 8ced6687fd8820f0bb749d65a746eddb47bdae55 Mon Sep 17 00:00:00 2001 From: JHancox <48477639+JHancox@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:56:17 +0100 Subject: [PATCH] Update task-manager.json Signed-off-by: JHancox <48477639+JHancox@users.noreply.github.com> --- .../configs/task-manager.json | 35 +++---------------- 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/deploy/monai-deploy-express/configs/task-manager.json b/deploy/monai-deploy-express/configs/task-manager.json index 3a35f56..f12162d 100644 --- a/deploy/monai-deploy-express/configs/task-manager.json +++ b/deploy/monai-deploy-express/configs/task-manager.json @@ -28,7 +28,8 @@ "workflowRequest": "md.workflow.request", "exportComplete": "md.export.complete", "exportRequestPrefix": "md.export.request", - "taskCallback": "md.tasks.callback" + "taskCallback": "md.tasks.callback", + "exportHl7": "md.export.hl7" }, "dicomAgents": { "dicomWebAgentName": "monaidicomweb", @@ -42,7 +43,7 @@ "virtualHost": "monaideploy", "exchange": "monaideploy", "deadLetterExchange": "deadLetterExchange", - "deliveryLimit": "5", + "deliveryLimit": "3", "requeueDelay": "0" }, "subscriberServiceAssemblyName": "Monai.Deploy.Messaging.RabbitMQ.RabbitMQMessageSubscriberService, Monai.Deploy.Messaging.RabbitMQ", @@ -55,7 +56,8 @@ "deadLetterExchange": "monaideploy-dead-letter", "exportRequestQueue": "export_tasks", "deliveryLimit": 3, - "requeueDelay": 30 + "requeueDelay": 3, + "prefetchCount": 5 } }, "storage": { @@ -91,32 +93,5 @@ "UseUtcTimestamp": true } } - }, - "Serilog": { - "Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ], - "Properties": { - "enviroment": "Production", - "serviceName": "MTM" - }, - "WriteTo": [ - { - "Name": "File", - "Args": { - "path": "logs/MTM-.log", - "rollingInterval": "Day", - "rollOnFileSizeLimit": true, - "fileSizeLimitBytes": "10485760", - "retainedFileCountLimit": 30, - "formatter": "Serilog.Formatting.Json.JsonFormatter, Serilog" - } - }, - { - "Name": "Http", - "Args": { - "requestUri": "http://logstash:50000", - "queueLimitBytes": null - } - } - ] } }