Repository navigation
Commit a9216c3
committed
fix(data): restart sweep timer when a dropped replica is re-added
When the last (or only) tab is dropped by sweep and the timer stops,
a resumed tab re-added through the handle() path only updated heard
without restarting the sweep timer. This left loss detection permanently
disabled after the first recovery.
Replace the bare heard.set() with watch(), which does the same timestamp
update and also ensures the sweep timer is running via sweeping ??=.1 parent 8455a84 commit a9216c3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
| 407 | + | |
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
| |||
0 commit comments