Replace sleep code
PhilipMay opened this issue · comments
IMO this code:
prometheus-smartctl/smartprom.py
Lines 176 to 184 in 3fbd7bb
can be replaced by just this:
while True:
collect()
time.sleep(20)
What do you think?
Closed by #29