Skip to content

Commit a9a9453

Browse files
llucaxCopilot
andauthored
Update src/frequenz/sdk/timeseries/battery_pool/_methods.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
1 parent a4ca8fd commit a9a9453

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/frequenz/sdk/timeseries/battery_pool/_methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ async def _send_on_update(self, min_update_interval: timedelta) -> None:
253253
await sender.send(result)
254254

255255
# Sleep for the rest of the time.
256-
# Then we won't send update more frequently then min_update_interval
256+
# Then we won't send update more frequently than min_update_interval
257257
time_diff = datetime.now(tz=timezone.utc) - result.timestamp
258258
sleep_for = (min_update_interval - time_diff).total_seconds()
259259
await asyncio.sleep(sleep_for)

0 commit comments

Comments
 (0)