Commit 2f3374be authored by Grzegorz Bizon's avatar Grzegorz Bizon

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

Use cached size when passing artifacts to Runner

See merge request gitlab-org/gitlab-ce!23228
parents 5d5da052 c742d3ba
---
title: Use cached size when passing artifacts to Runner
merge_request:
author:
type: performance
...@@ -1142,7 +1142,8 @@ module API ...@@ -1142,7 +1142,8 @@ module API
end end
class JobArtifactFile < Grape::Entity class JobArtifactFile < Grape::Entity
expose :filename, :size expose :filename
expose :cached_size, as: :size
end end
class JobArtifact < Grape::Entity class JobArtifact < Grape::Entity
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment