From 13e56c6d569ad2a366cf82c757a7846ca1b98361 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Sat, 8 Feb 2020 08:18:23 +0100 Subject: [PATCH] raise timeout on gentoo because gentoo... --- sau/gentoo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sau/gentoo.py b/sau/gentoo.py index 145b2ac..276484d 100644 --- a/sau/gentoo.py +++ b/sau/gentoo.py @@ -151,7 +151,7 @@ def pkg_upgrade(): return False cmd = [ EMERGE_PATH, '--color', 'n', '-uDNq', '@world' ] - ret, out, err = sau.helpers.exec_cmd(cmd, timeout=36000) + ret, out, err = sau.helpers.exec_cmd(cmd, timeout=72000) if ret != 0 or err: log.warning('emerge returned {}'.format(ret)) @@ -166,7 +166,7 @@ def pkg_upgrade(): log.warning(line) cmd = [ EMERGE_PATH, '--color', 'n', '-q', '@preserved-rebuild' ] - ret, out, err = sau.helpers.exec_cmd(cmd, timeout=36000) + ret, out, err = sau.helpers.exec_cmd(cmd, timeout=72000) if ret != 0 or err: log.warning('preserved-rebuild returned {}'.format(ret))