From ea198f185b655a353755b097cdbc6c264378db34 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 6 Apr 2022 18:07:45 -0300 Subject: [PATCH] bajar el timeout para no bloquear el deploy --- app/models/deploy_rsync.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/deploy_rsync.rb b/app/models/deploy_rsync.rb index 4191b20d..2387366a 100644 --- a/app/models/deploy_rsync.rb +++ b/app/models/deploy_rsync.rb @@ -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|