mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-23 01:51:49 +00:00
timeout de rsync
This commit is contained in:
parent
ea198f185b
commit
c49c63f776
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class DeployRsync < Deploy
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
def rsync
|
def rsync
|
||||||
run %(rsync -av #{flags ? Shellwords.escape(flags) : ''} #{Shellwords.escape source}/ #{Shellwords.escape destination}/)
|
run %(rsync -av --timeout=5 #{flags ? Shellwords.escape(flags) : ''} #{Shellwords.escape source}/ #{Shellwords.escape destination}/)
|
||||||
end
|
end
|
||||||
|
|
||||||
# El origen es el destino de la compilación
|
# El origen es el destino de la compilación
|
||||||
|
|
Loading…
Reference in a new issue