feat(central-ui): process-wide single-flight cache for the pending-updates snapshot
Claude-Session: https://claude.ai/code/session_01Y5ef34iUUMjmwnMpL9xgmB
This commit is contained in:
@@ -120,6 +120,10 @@ public static class ServiceCollectionExtensions
|
||||
// circuit for N dashboards to share a single SQL round per refresh window.
|
||||
services.AddSingleton<IKpiSnapshotCache, KpiSnapshotCache>();
|
||||
|
||||
// Same single-flight TTL shape as IKpiSnapshotCache, over the fleet-wide
|
||||
// pending-updates flatten (IPendingUpdatesEvaluator) instead of the KPI Asks.
|
||||
services.AddSingleton<IPendingUpdatesCache, PendingUpdatesCache>();
|
||||
|
||||
// Secured Writes: dispatches the two-person secured-write commands
|
||||
// (submit / approve / reject / list) to the central ManagementActor through the
|
||||
// in-process ManagementActorHolder seam — the same Ask path the HTTP /management
|
||||
|
||||
Reference in New Issue
Block a user