selfcheck.py: increase long boot duration value to 20

This commit is contained in:
Oleg Kalachev
2022-01-21 23:22:47 +03:00
parent fb47858010
commit e3958d7fef

View File

@@ -617,7 +617,7 @@ def check_boot_duration():
output = subprocess.check_output('systemd-analyze').decode()
r = re.compile(r'([\d\.]+)s\s*$', flags=re.MULTILINE)
duration = float(r.search(output).groups()[0])
if duration > 15:
if duration > 20:
failure('long Raspbian boot duration: %ss (systemd-analyze for analyzing)', duration)