Harden API memory and CPU usage across Phases 19–22.
Bound list/PDF payloads, stream MinIO I/O with cancellation, paginate history and FHIR $everything, tighten OCR lifetimes/buffers, and add phase tracking docs.
This commit is contained in:
@@ -133,7 +133,7 @@ public class PromotionRetryService : BackgroundService
|
||||
$"Batch {batchId} is in Approved status but has no ApprovedByUserId");
|
||||
|
||||
// Attempt promotion with a unique idempotency key per attempt
|
||||
await promotionService.PromoteAsync(batchId, approverUserId);
|
||||
await promotionService.PromoteAsync(batchId, approverUserId, ct);
|
||||
|
||||
// --- Success path ---
|
||||
DiagnosticsMetrics.PromotionRetryTotal.WithLabels("success").Inc();
|
||||
|
||||
Reference in New Issue
Block a user