Skip to content

Commit 147d71d

Browse files
committed
Set timeout for push to transifex to 30 mins instead of 10 minutes
1 parent 9484870 commit 147d71d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

setup/unix-ci.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ def install_env():
5959
setenv('CALIBRE_QT_PREFIX', '$SW/qt')
6060

6161

62-
def run(*args):
62+
def run(*args, timeout=600):
6363
if len(args) == 1:
6464
args = shlex.split(args[0])
6565
print(' '.join(args), flush=True)
6666
p = subprocess.Popen(args)
6767
try:
68-
ret = p.wait(timeout=600)
68+
ret = p.wait(timeout=timeout)
6969
except subprocess.TimeoutExpired as err:
7070
ret = 1
7171
print(err, file=sys.stderr, flush=True)
@@ -164,7 +164,7 @@ def main():
164164
install_env()
165165
get_tx()
166166
os.environ['TX'] = os.path.abspath('tx')
167-
run(sys.executable, 'setup.py', 'pot')
167+
run(sys.executable, 'setup.py', 'pot', timeout=30 * 60)
168168
elif action == 'test':
169169
os.environ['CI'] = 'true'
170170
os.environ['OPENSSL_MODULES'] = os.path.join(SW, 'lib', 'ossl-modules')

0 commit comments

Comments
 (0)