Adjust doc string for recorder.Recorder.async_periodic_statistics (#70398)

This commit is contained in:
J. Nick Koston 2022-04-21 19:04:42 -10:00 committed by GitHub
parent 3142a106fc
commit 9761a7310e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -918,7 +918,10 @@ class Recorder(threading.Thread):
@callback
def async_periodic_statistics(self, now: datetime) -> None:
"""Trigger the hourly statistics run."""
"""Trigger the statistics run.
Short term statistics run every 5 minutes
"""
start = statistics.get_start_time()
self.queue.put(StatisticsTask(start))