Quellcode durchsuchen

Make the timeout a bit longer to accommodate machines under high load.

tags/0.1
Matt Corallo vor 9 Jahren
Ursprung
Commit
3ccd662304
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 1
    1
      libexec/copy-from-target
  2. 1
    1
      libexec/copy-to-target
  3. 1
    1
      libexec/on-target

+ 1
- 1
libexec/copy-from-target Datei anzeigen

@@ -41,4 +41,4 @@ if [ $# = 0 ] ; then
exit 1
fi

scp -oConnectTimeout=2 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT -r $TUSER@localhost:$1 $2
scp -oConnectTimeout=5 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT -r $TUSER@localhost:$1 $2

+ 1
- 1
libexec/copy-to-target Datei anzeigen

@@ -41,4 +41,4 @@ if [ $# = 0 ] ; then
exit 1
fi

scp -oConnectTimeout=2 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT $1 $TUSER@localhost:$2
scp -oConnectTimeout=5 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT $1 $TUSER@localhost:$2

+ 1
- 1
libexec/on-target Datei anzeigen

@@ -41,4 +41,4 @@ fi
# exit 1
#fi

ssh -oConnectTimeout=2 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -p $VM_SSH_PORT $TUSER@localhost $*
ssh -oConnectTimeout=5 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -p $VM_SSH_PORT $TUSER@localhost $*

Laden…
Abbrechen
Speichern