Merge branch 'optimise-job-request' into 'master'

Use cached size when passing artifacts to Runner

See merge request gitlab-org/gitlab-ce!23228
This commit is contained in:
Grzegorz Bizon 2018-11-21 14:00:06 +00:00
commit 2f3374be4c
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
title: Use cached size when passing artifacts to Runner
merge_request:
author:
type: performance

View file

@ -1142,7 +1142,8 @@ module API
end
class JobArtifactFile < Grape::Entity
expose :filename, :size
expose :filename
expose :cached_size, as: :size
end
class JobArtifact < Grape::Entity