Commit 66f01dd
committed
Update bound-streaming channels to resend latest to new receivers
The `SystemBoundsTracker`s send out a new value only when there's a
change in the system bounds. This means when a new receiver is
created, it could wait for a long time before receiving the bounds.
This change allows new receivers to get the latest state when
requested.
This is already the case for battery bounds, and needed only for PV
and EV charger bounds.
Signed-off-by: Sahas Subramanian <[email protected]>1 parent 998ebff commit 66f01dd
File tree
2 files changed
+4
-2
lines changed- src/frequenz/sdk/timeseries
- ev_charger_pool
- pv_pool
2 files changed
+4
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
0 commit comments