Fix Kafka retry seek, bound buffers, and cut hot-path CPU/memory waste (Phases 41–44).
Stop consumers from committing past failed offsets, harden Rabbit/DataLake/gateway backpressure, dispose JsonDocument/MinIO correctly, and batch expensive DB/HTTP paths. Track progress in docs/performance.
This commit is contained in:
@@ -113,8 +113,9 @@ public class PatientService : IPatientService
|
||||
var path = _http.HttpContext?.Request.Path.Value ?? "/api/v1/patients";
|
||||
await _phiAccess.LogListAsync(path, patients.Count, q);
|
||||
|
||||
foreach (var p in patients)
|
||||
await _phiAccess.LogViewAsync(p.Id, $"{path}?page={page}");
|
||||
await _phiAccess.LogViewsAsync(
|
||||
patients.Select(p => p.Id).ToList(),
|
||||
$"{path}?page={page}");
|
||||
|
||||
return new PagedResult<Patient>(patients, page, pageSize, total);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user