Commit a1f06ba
committed
fix(app): gate Status polling to Status-tab-active only
CodeRabbit review: when the right panel is open but the user is on the
Files / Review / Terminal tab, SessionStatusConnections still polls
checkServerHealth every 10 seconds, wasting work on a tab nobody is
looking at. Narrow the shown gate to require both open AND
sidePanelTab() === "status". The reconcile-to-empty branch in the
polling effect already handles the transition, so polling stops as
soon as the user switches away from Status.1 parent ced4b44 commit a1f06ba
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
0 commit comments