Increase timeout threshold for freshness

This commit is contained in:
Joshua Boniface 2022-07-18 13:10:32 -04:00
parent 879b533b66
commit 1bf6d97cdb
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import re
import json
try:
nrout = subprocess.run(["/usr/sbin/needrestart", "-b"], timeout=5, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
nrout = subprocess.run(["/usr/sbin/needrestart", "-b"], timeout=15, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
except subprocess.TimeoutExpired:
exit(2)
except Exception: