mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 15:41:42 +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
|
||||
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|
|
||||
|
|
Loading…
Reference in a new issue