Skip to content

Commit 7f39834

Browse files
Marenzllucax
andauthored
Update src/frequenz/sdk/microgrid/_data_sourcing/microgrid_api_source.py
Co-authored-by: Leandro Lucarella <[email protected]> Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 94d72a8 commit 7f39834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frequenz/sdk/microgrid/_data_sourcing/microgrid_api_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ async def _update_streams(
462462

463463
self.comp_data_tasks[comp_id] = asyncio.create_task(
464464
run_forever(lambda: self._handle_data_stream(comp_id, category)),
465-
name=f"run_forever:cid={comp_id}",
465+
name=f"{type(self).__name__}._update_stream({comp_id=}, {category.name})",
466466
)
467467

468468
async def add_metric(self, request: ComponentMetricRequest) -> None:

0 commit comments

Comments
 (0)