mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 17:03:38 +00:00
no es necesario traer el tamaño de los build_stats
This commit is contained in:
parent
9024a13490
commit
ef2589a4f1
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ class DeployJob < ApplicationJob
|
||||||
deploy_local: {
|
deploy_local: {
|
||||||
status: deploy_locally,
|
status: deploy_locally,
|
||||||
seconds: deploy_local.build_stats.last.seconds,
|
seconds: deploy_local.build_stats.last.seconds,
|
||||||
size: deploy_local.build_stats.last.size,
|
size: deploy_local.size,
|
||||||
url: deploy_local.url
|
url: deploy_local.url
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -73,7 +73,7 @@ class DeployJob < ApplicationJob
|
||||||
@deployed[d.type.underscore.to_sym] = {
|
@deployed[d.type.underscore.to_sym] = {
|
||||||
status: status,
|
status: status,
|
||||||
seconds: build_stat.try(:seconds) || 0,
|
seconds: build_stat.try(:seconds) || 0,
|
||||||
size: build_stat.try(:size) || 0,
|
size: d.size,
|
||||||
url: d.url
|
url: d.url
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue