-
- Downloads
Log diffs_files_count when MR diffs and commit are accessed
To be able to give an estimate on how much storage we are going to use when we cache diffs HTML, we need to get some data on how many files are there in diffs. We add this logging metadata to `MergeRequestsController#diffs` and `CommitController#show` actions since those are the actions that we want to track.
parent
70ef67a9
No related branches found
No related tags found
Showing
- app/controllers/projects/commit_controller.rb 9 additions, 0 deletionsapp/controllers/projects/commit_controller.rb
- app/controllers/projects/merge_requests_controller.rb 9 additions, 0 deletionsapp/controllers/projects/merge_requests_controller.rb
- spec/controllers/projects/commit_controller_spec.rb 16 additions, 0 deletionsspec/controllers/projects/commit_controller_spec.rb
- spec/controllers/projects/merge_requests_controller_spec.rb 16 additions, 0 deletionsspec/controllers/projects/merge_requests_controller_spec.rb
Please register or sign in to comment