gitlab-org--gitlab-foss/app/uploaders
Dylan Griffith 03b020f2e4 Update ProjectStatistics#build_artifacts_size synchronously without summing (#41059)
Previously we scheduled a worker to just some this but we were running
into performance issues when the build table was getting too large. So
now we've updated the code such that this column is updated immediately
and incremented/decremented by the correct amount whenever artifacts are
created or deleted.

We've also added the performance optimization that we do not update this
statistic if a project is deleted because it could result in many
updates for a project with many builds.
2018-04-19 18:35:40 +10:00
..
attachment_uploader.rb fixing some broken merges 2018-03-02 16:19:17 -05:00
avatar_uploader.rb Merge branch '4163-move-uploads-to-object-storage' into 'master' 2018-02-28 20:58:15 +01:00
file_mover.rb personal snippets will now comply with `background_upload` 2018-03-26 08:33:53 -04:00
file_uploader.rb Merge branch 'poc-upload-hashing-path' into 'master' 2018-03-08 09:25:56 -05:00
gitlab_uploader.rb Merge remote-tracking branch 'origin/master' into object-storage-ee-to-ce-backport 2018-02-28 21:28:43 +01:00
job_artifact_uploader.rb Update ProjectStatistics#build_artifacts_size synchronously without summing (#41059) 2018-04-19 18:35:40 +10:00
legacy_artifact_uploader.rb Add `direct_upload` setting for artifacts 2018-04-05 15:01:14 +02:00
lfs_object_uploader.rb Backport ee-40781-os-to-ce 2018-03-22 08:49:04 -04:00
namespace_file_uploader.rb Merge branch 'poc-upload-hashing-path' into 'master' 2018-03-08 09:25:56 -05:00
object_storage.rb Add `direct_upload` setting for artifacts 2018-04-05 15:01:14 +02:00
personal_file_uploader.rb Merge branch 'poc-upload-hashing-path' into 'master' 2018-03-08 09:25:56 -05:00
records_uploads.rb Merge branch 'fix/sm/atomic-migration' into 'master' 2018-02-28 21:28:26 +01:00
uploader_helper.rb Merge branch '4163-move-uploads-to-object-storage' into 'master' 2018-02-28 20:58:15 +01:00
workhorse.rb Merge branch '4163-move-uploads-to-object-storage' into 'master' 2018-02-28 20:58:15 +01:00