mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Add note that minutes defaults to 1
This commit is contained in:
@@ -185,7 +185,7 @@ class LoadAverage(InternalDevice):
|
|||||||
|
|
||||||
:param int minutes:
|
:param int minutes:
|
||||||
The number of minutes over which to average the load. Must be 1, 5 or
|
The number of minutes over which to average the load. Must be 1, 5 or
|
||||||
15.
|
15. This defaults to 1.
|
||||||
"""
|
"""
|
||||||
def __init__(self, load_average_file='/proc/loadavg', min_load_average=0.0,
|
def __init__(self, load_average_file='/proc/loadavg', min_load_average=0.0,
|
||||||
max_load_average=1.0, threshold=0.8, minutes=1):
|
max_load_average=1.0, threshold=0.8, minutes=1):
|
||||||
|
|||||||
Reference in New Issue
Block a user