3ef4f74b1a
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. |
||
---|---|---|
.. | ||
concerns | ||
repository_check | ||
authorized_projects_worker_spec.rb | ||
build_coverage_worker_spec.rb | ||
build_email_worker_spec.rb | ||
build_finished_worker_spec.rb | ||
build_hooks_worker_spec.rb | ||
build_success_worker_spec.rb | ||
delete_merged_branches_worker_spec.rb | ||
delete_user_worker_spec.rb | ||
email_receiver_worker_spec.rb | ||
emails_on_push_worker_spec.rb | ||
every_sidekiq_worker_spec.rb | ||
expire_build_artifacts_worker_spec.rb | ||
expire_build_instance_artifacts_worker_spec.rb | ||
git_garbage_collect_worker_spec.rb | ||
group_destroy_worker_spec.rb | ||
merge_worker_spec.rb | ||
new_note_worker_spec.rb | ||
pipeline_hooks_worker_spec.rb | ||
pipeline_metrics_worker_spec.rb | ||
pipeline_notification_worker_spec.rb | ||
pipeline_proccess_worker_spec.rb | ||
pipeline_success_worker_spec.rb | ||
pipeline_update_worker_spec.rb | ||
post_receive_spec.rb | ||
process_commit_worker_spec.rb | ||
project_cache_worker_spec.rb | ||
project_destroy_worker_spec.rb | ||
prune_old_events_worker_spec.rb | ||
reactive_caching_worker_spec.rb | ||
remove_expired_group_links_worker_spec.rb | ||
remove_expired_members_worker_spec.rb | ||
remove_unreferenced_lfs_objects_worker_spec.rb | ||
repository_fork_worker_spec.rb | ||
repository_import_worker_spec.rb | ||
stuck_ci_builds_worker_spec.rb | ||
trending_projects_worker_spec.rb | ||
update_merge_requests_worker_spec.rb |