mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 16:16:22 +00:00
fix: no notificar al liberar la tarea
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
0119cab8da
commit
9dea78fcc2
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue