#797 updateCache con protocolo TORRENT: Se modifica mensaje informativo del tiempo de espera para iniciar.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5449 a21b9725-9963-47de-94b9-378ad31fedc9remotes/github/debian-pkg
parent
f864c82716
commit
f009c3dca2
|
@ -204,7 +204,7 @@ case "$PROTOCOLO" in
|
||||||
#TODO comprobar que el fichero torrent está en cache
|
#TODO comprobar que el fichero torrent está en cache
|
||||||
# retardamos el inicio -aleatorio de 0 a 120 segundos- al tracker para gestionar mas de +-40 equipos
|
# retardamos el inicio -aleatorio de 0 a 120 segundos- al tracker para gestionar mas de +-40 equipos
|
||||||
P2PWAIT=$[ ( $RANDOM % 120 ) + 1 ]
|
P2PWAIT=$[ ( $RANDOM % 120 ) + 1 ]
|
||||||
ogEcho log session " [ ] $MSG_SCRIPTS_TASK_SLEEP : $P2PWAIT seconds ogTorrentStart CACHE $2.torrent $4"
|
ogEcho log session " [ ] $MSG_SCRIPTS_TASK_SLEEP : $P2PWAIT seconds"
|
||||||
sleep $P2PWAIT
|
sleep $P2PWAIT
|
||||||
ogEcho log session " [ ] $MSG_SCRIPTS_TASK_START: ogTorrentStart CACHE $2.torrent $4"
|
ogEcho log session " [ ] $MSG_SCRIPTS_TASK_START: ogTorrentStart CACHE $2.torrent $4"
|
||||||
ogExecAndLog command ogTorrentStart CACHE "$2.torrent" $4
|
ogExecAndLog command ogTorrentStart CACHE "$2.torrent" $4
|
||||||
|
|
Loading…
Reference in New Issue