5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 04:51:43 +00:00

fix: no notificar al liberar la tarea

This commit is contained in:
f 2023-03-13 18:46:56 -03:00
parent e62172e37a
commit 6a7a0dddda

View file

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