Repository navigation
Commit db3d965
fix(gateway): re-send rate caps when the hub's online message arrives
_check_rate_caps() only noticed the hub was offline if a run() cycle landed
while it was. A reboot after a firmware update is quicker than the gap
between cycles, so the offline state was never seen and unchanged caps were
not sent again - leaving a hub that had just gained the command, or lost its
stored caps, without them.
The online-message handler now clears what was sent on any online/offline
transition.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 8a30e5b commit db3d965
2 files changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
776 | 780 | | |
777 | 781 | | |
778 | 782 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3876 | 3876 | | |
3877 | 3877 | | |
3878 | 3878 | | |
| 3879 | + | |
| 3880 | + | |
| 3881 | + | |
| 3882 | + | |
| 3883 | + | |
| 3884 | + | |
| 3885 | + | |
| 3886 | + | |
| 3887 | + | |
| 3888 | + | |
| 3889 | + | |
| 3890 | + | |
| 3891 | + | |
| 3892 | + | |
| 3893 | + | |
| 3894 | + | |
| 3895 | + | |
| 3896 | + | |
| 3897 | + | |
| 3898 | + | |
| 3899 | + | |
| 3900 | + | |
| 3901 | + | |
| 3902 | + | |
| 3903 | + | |
| 3904 | + | |
| 3905 | + | |
| 3906 | + | |
| 3907 | + | |
| 3908 | + | |
3879 | 3909 | | |
3880 | 3910 | | |
3881 | 3911 | | |
| |||
0 commit comments