5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-02 06:54:17 +00:00

bajar el timeout para no bloquear el deploy

This commit is contained in:
f 2022-04-06 18:07:45 -03:00
parent 6fcdeb52f3
commit ea198f185b

View file

@ -27,7 +27,7 @@ class DeployRsync < Deploy
user, host = user_host
ssh_available = false
Net::SSH.start(host, user, verify_host_key: tofu) do |ssh|
Net::SSH.start(host, user, verify_host_key: tofu, timeout: 5) do |ssh|
if values[:host_keys].blank?
# Guardar las llaves que se encontraron en la primera conexión
values[:host_keys] = ssh.transport.host_keys.map do |host_key|