Skip to content

Commit cba33f7

Browse files
committed
Improve _run() docs for ComponentMetricsResamplingActor
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 338a1b2 commit cba33f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/frequenz/sdk/actor/_resampling.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ async def _run(self) -> None:
9999
other error will be propagated (most likely ending in the actor being
100100
restarted).
101101
102+
This method creates 2 main tasks:
103+
104+
- One task to process incoming subscription requests to resample new metrics.
105+
- One task to run the resampler.
106+
102107
Raises:
103108
RuntimeError: If there is some unexpected error while resampling or
104109
handling requests.

0 commit comments

Comments
 (0)