mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
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:
parent
6e188524e2
commit
5e38b169b9
@ -29,7 +29,7 @@ import tarfile
|
||||
|
||||
from plinth.modules.backups import MANIFESTS_FOLDER
|
||||
|
||||
TIMEOUT = 5
|
||||
TIMEOUT = 30
|
||||
|
||||
|
||||
def parse_arguments():
|
||||
|
||||
@ -26,7 +26,7 @@ import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
TIMEOUT = 5
|
||||
TIMEOUT = 30
|
||||
|
||||
|
||||
class AlreadyMountedError(Exception):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user