5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-03 11:36:08 +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.
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