perf(adminui): /hosts rebuilds driver rows on the tick, not per health publish (R04 P4)
OnSnapshotChanged used to re-project every cluster group and re-render the whole page for each driver publish, per open tab. It now only marks a CoalescingDirtyFlag; the 5 s tick rebuilds when the flag is set or the config load changed (or evicted) anything. Refs #745 Claude-Session: https://claude.ai/code/session_01Ub9hGmYLQvn9XETzw7CMsT
This commit is contained in:
@@ -128,7 +128,7 @@ public sealed class HostsEvictionWiringTests
|
||||
{
|
||||
var src = AdminUiSource.Read("Components", "Pages", "Hosts.razor");
|
||||
|
||||
var load = src.IndexOf("private async Task LoadConfigAsync()", StringComparison.Ordinal);
|
||||
var load = src.IndexOf("private async Task<bool> LoadConfigAsync()", StringComparison.Ordinal);
|
||||
load.ShouldBeGreaterThan(0);
|
||||
var firstCatch = src.IndexOf("catch (Exception ex) when (ex is OperationCanceledException", load, StringComparison.Ordinal);
|
||||
firstCatch.ShouldBeGreaterThan(load);
|
||||
|
||||
Reference in New Issue
Block a user