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:
@@ -24,9 +24,9 @@ public static class DataSeeder
|
||||
private static readonly Guid Patient4Id = Guid.Parse("b1000000-0000-0000-0000-000000000004");
|
||||
private static readonly Guid Patient5Id = Guid.Parse("b1000000-0000-0000-0000-000000000005");
|
||||
|
||||
public static async Task SeedAsync(AppDbContext db)
|
||||
public static async Task SeedAsync(AppDbContext db, CancellationToken ct = default)
|
||||
{
|
||||
if (await db.Users.AnyAsync()) return;
|
||||
if (await db.Users.AnyAsync(ct)) return;
|
||||
|
||||
// ── Users (2 per role) ────────────────────────────────────────────────
|
||||
var users = new[]
|
||||
|
||||
Reference in New Issue
Block a user