Commit 4b2ec31
committed
Use
`run_forever()` is now more resilient to issues with no running asyncio
event loop, so it is better to use that instead of our custom naïve
loop.
Signed-off-by: Leandro Lucarella <[email protected]>run_forever() instead of a custom loop1 parent 7a2735c commit 4b2ec31
File tree
1 file changed
+2
-12
lines changed- src/frequenz/sdk/microgrid/_power_distributing
1 file changed
+2
-12
lines changedLines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | | - | |
26 | | - | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| |||
112 | 109 | | |
113 | 110 | | |
114 | 111 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 112 | + | |
123 | 113 | | |
124 | 114 | | |
125 | 115 | | |
| |||
0 commit comments