Commit c742d3ba authored by Kamil Trzciński's avatar Kamil Trzciński

Use cached size when passing artifacts to Runner

parent 624ec622
---
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