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 <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2019-02-03 12:31:33 -08:00 committed by James Valleroy
parent 6e188524e2
commit 5e38b169b9
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ import tarfile
from plinth.modules.backups import MANIFESTS_FOLDER
TIMEOUT = 5
TIMEOUT = 30
def parse_arguments():

View File

@ -26,7 +26,7 @@ import os
import subprocess
import sys
TIMEOUT = 5
TIMEOUT = 30
class AlreadyMountedError(Exception):