Skip to content
Snippets Groups Projects
  1. Jul 27, 2018
  2. Jul 26, 2018
  3. Apr 19, 2018
    • Dylan Griffith's avatar
      Update ProjectStatistics#build_artifacts_size synchronously without summing (#41059) · 03b020f2
      Dylan Griffith authored
      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.
      03b020f2
  4. Jan 18, 2018
  5. Dec 03, 2017
  6. Aug 08, 2017
  7. Feb 23, 2017
  8. Jan 17, 2017
  9. Dec 21, 2016
    • Markus Koller's avatar
      Add more storage statistics · 3ef4f74b
      Markus Koller authored
      This adds counters for build artifacts and LFS objects, and moves
      the preexisting repository_size and commit_count from the projects
      table into a new project_statistics table.
      
      The counters are displayed in the administration area for projects
      and groups, and also available through the API for admins (on */all)
      and normal users (on */owned)
      
      The statistics are updated through ProjectCacheWorker, which can now
      do more granular updates with the new :statistics argument.
      Verified
      3ef4f74b
Loading