Pārlūkot izejas kodu

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

tags/0.1
Matt Corallo pirms 10 gadiem
vecāks
revīzija
3ccd662304
3 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt