feat(FinishEnvelopeJob): add PDF burning with concurrency control

- Introduced PDFBurnerParams configuration for concurrency limit.
- Added SemaphoreSlim to handle concurrent PDF burning for envelopes.
- Updated job to call _mediator.BurnPdf for each envelope with error handling.
- Preserved logging of job execution and envelope UUIDs.
This commit is contained in:
2025-11-10 15:01:07 +01:00
parent 8aea3c8301
commit f8c586dd31
3 changed files with 36 additions and 11 deletions

View File

@@ -9,6 +9,11 @@ namespace EnvelopeGenerator.Application.Common.Configurations;
/// </summary>
public class PDFBurnerParams : ITextStyle
{
/// <summary>
///
/// </summary>
public int ConcurrencyLimit { get; set; } = 5;
/// <summary>
///
/// </summary>