5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 18:36:22 +00:00

no es necesario traer el tamaño de los build_stats

This commit is contained in:
f 2022-04-06 20:51:45 -03:00
parent 9024a13490
commit ef2589a4f1

View file

@ -31,7 +31,7 @@ class DeployJob < ApplicationJob
deploy_local: {
status: deploy_locally,
seconds: deploy_local.build_stats.last.seconds,
size: deploy_local.build_stats.last.size,
size: deploy_local.size,
url: deploy_local.url
}
}
@ -73,7 +73,7 @@ class DeployJob < ApplicationJob
@deployed[d.type.underscore.to_sym] = {
status: status,
seconds: build_stat.try(:seconds) || 0,
size: build_stat.try(:size) || 0,
size: d.size,
url: d.url
}
end