diff options
| author | James Lopez <james@jameslopez.es> | 2017-09-05 17:10:57 +0200 |
|---|---|---|
| committer | James Lopez <james@jameslopez.es> | 2017-09-05 17:47:45 +0200 |
| commit | 4119206f76d802413850dc9fe1fa4715c3bd6fc0 (patch) | |
| tree | 01877dafda4888e318bdafa85df23973836818bc /app | |
| parent | be99f82478e023e41a543a0b9348e27d56fb3c13 (diff) | |
| download | gitlab-ce-4119206f76d802413850dc9fe1fa4715c3bd6fc0.tar.gz | |
fix export performance of CI builds
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/ci/build.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index ba3156154ac..6a859af73c3 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -451,6 +451,10 @@ module Ci trace end + def serializable_hash(options = {}) + super(options.merge(when: read_attribute(:when))) + end + private def update_artifacts_size |
