mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 19:26:21 +00:00
bajar el timeout para no bloquear el deploy
This commit is contained in:
parent
6fcdeb52f3
commit
ea198f185b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class DeployRsync < Deploy
|
||||||
user, host = user_host
|
user, host = user_host
|
||||||
ssh_available = false
|
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?
|
if values[:host_keys].blank?
|
||||||
# Guardar las llaves que se encontraron en la primera conexión
|
# Guardar las llaves que se encontraron en la primera conexión
|
||||||
values[:host_keys] = ssh.transport.host_keys.map do |host_key|
|
values[:host_keys] = ssh.transport.host_keys.map do |host_key|
|
||||||
|
|
Loading…
Reference in a new issue