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

fix: no notificar al liberar la tarea
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-03-13 18:46:56 -03:00
parent 0119cab8da
commit 9dea78fcc2

View file

@ -19,6 +19,7 @@ class DeployJob < ApplicationJob
# hora original para poder ir haciendo timeouts. # hora original para poder ir haciendo timeouts.
if @site.building? if @site.building?
if 10.minutes.ago >= time if 10.minutes.ago >= time
notify = false
raise DeployTimedOutException, raise DeployTimedOutException,
"#{@site.name} la tarea estuvo más de 10 minutos esperando, volviendo al estado original" "#{@site.name} la tarea estuvo más de 10 minutos esperando, volviendo al estado original"
end end