Explorar el Código

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

tags/0.1
Matt Corallo hace 10 años
padre
commit
3ccd662304
Se han modificado 3 ficheros con 3 adiciones y 3 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 $*

Cargando…
Cancelar
Guardar