5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 18:56:21 +00:00

timeout de rsync

This commit is contained in:
f 2022-04-06 18:11:21 -03:00
parent ea198f185b
commit c49c63f776

View file

@ -77,7 +77,7 @@ class DeployRsync < Deploy
#
# @return [Boolean]
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
# El origen es el destino de la compilación