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:
@@ -393,7 +393,7 @@ async function assignBatch(batchId: string, entryClerkUserId: string): Promise<v
|
||||
error.value = null
|
||||
try {
|
||||
const response = await get<PatientDigitizationHistoryResponse>(
|
||||
`patients/${patientId}/digitization-history`,
|
||||
`patients/${patientId}/digitization-history?page=1&pageSize=50`,
|
||||
)
|
||||
if (response.success && response.data) {
|
||||
return response.data
|
||||
|
||||
@@ -317,6 +317,9 @@ export interface PatientDigitizationHistoryResponse {
|
||||
promotedBatches: number
|
||||
supersededBatches: number
|
||||
pendingBatches: number
|
||||
page: number
|
||||
pageSize: number
|
||||
totalPages: number
|
||||
entries: DigitizationHistoryEntry[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user