We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45b68bf + b28f6af commit 648dc40Copy full SHA for 648dc40
src/frequenz/channels/timer.py
@@ -699,7 +699,7 @@ async def ready(self) -> bool: # noqa: DOC502
699
700
# If we didn't reach the tick yet, sleep until we do.
701
# We need to do this in a loop also reacting to the reset event, as the timer
702
- # could be reset while we are sleeping, in which case we need to recalculated
+ # could be reset while we are sleeping, in which case we need to recalculate
703
# the time to the next tick and try again.
704
while time_to_next_tick > 0:
705
await asyncio.sleep(time_to_next_tick / 1_000_000)
0 commit comments