mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-22 21:01:51 +00:00
fix: no notificar al liberar la tarea
This commit is contained in:
parent
e62172e37a
commit
6a7a0dddda
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,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
|
||||||
|
|
Loading…
Reference in a new issue