Repository navigation
Commit d4afbf4
perf(server): skip device host refreshes for unchanged settings
Every settings save re-published the device host list even when no SSH
device host changed, which re-queried every host summary and emitted a
state update for nothing. Only refresh when a host was actually added or
removed. The refresh after new hosts start is kept for removals too, so
a status written by an old host while its scope was closing is still
cleared instead of lingering as a ghost entry.
Co-Authored-By: Claude Fable 5.1 <[email protected]>1 parent d6044f5 commit d4afbf4
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1089 | 1089 | | |
1090 | 1090 | | |
1091 | 1091 | | |
1092 | | - | |
| 1092 | + | |
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
| |||
1105 | 1105 | | |
1106 | 1106 | | |
1107 | 1107 | | |
| 1108 | + | |
1108 | 1109 | | |
1109 | 1110 | | |
| 1111 | + | |
1110 | 1112 | | |
1111 | 1113 | | |
1112 | 1114 | | |
| |||
1130 | 1132 | | |
1131 | 1133 | | |
1132 | 1134 | | |
1133 | | - | |
| 1135 | + | |
| 1136 | + | |
1134 | 1137 | | |
1135 | 1138 | | |
1136 | 1139 | | |
| |||
0 commit comments