From 5e38b169b941b71b06a1068078f4513d4e8129bf Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 3 Feb 2019 12:31:33 -0800 Subject: [PATCH] backups: Increase timeout for SSH operations to 30 seconds It is easy to run into cases where SSH mounting takes more than 5 seconds. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- actions/backups | 2 +- actions/sshfs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/backups b/actions/backups index a544d1c8a..a29ba5ccc 100755 --- a/actions/backups +++ b/actions/backups @@ -29,7 +29,7 @@ import tarfile from plinth.modules.backups import MANIFESTS_FOLDER -TIMEOUT = 5 +TIMEOUT = 30 def parse_arguments(): diff --git a/actions/sshfs b/actions/sshfs index 5cfa9be5b..52069002e 100755 --- a/actions/sshfs +++ b/actions/sshfs @@ -26,7 +26,7 @@ import os import subprocess import sys -TIMEOUT = 5 +TIMEOUT = 30 class AlreadyMountedError(Exception):