From c1eba1cfd398a865ca12eb5044d1e97f3c746c2e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 8 Sep 2024 09:59:33 +0530 Subject: [PATCH] Set timeout for push to transifex to 30 mins instead of 10 minutes --- setup/unix-ci.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/unix-ci.py b/setup/unix-ci.py index 4140170190cf..78bcd26bef0d 100644 --- a/setup/unix-ci.py +++ b/setup/unix-ci.py @@ -59,7 +59,7 @@ def install_env(): setenv('CALIBRE_QT_PREFIX', '$SW/qt') -def run(*args): +def run(*args, timeout=600): if len(args) == 1: args = shlex.split(args[0]) print(' '.join(args), flush=True) @@ -164,7 +164,7 @@ def main(): install_env() get_tx() os.environ['TX'] = os.path.abspath('tx') - run(sys.executable, 'setup.py', 'pot') + run(sys.executable, 'setup.py', 'pot', timeout=30 * 60) elif action == 'test': os.environ['CI'] = 'true' os.environ['OPENSSL_MODULES'] = os.path.join(SW, 'lib', 'ossl-modules')