gitlab-org--gitlab-foss/app/controllers/projects
Yorick Peterse 5371da341e
Remove event caching code
Flushing the events cache worked by updating a recent number of rows in
the "events" table. This has the result that on PostgreSQL a lot of dead
tuples are produced on a regular basis. This in turn means that
PostgreSQL will spend considerable amounts of time vacuuming this table.
This in turn can lead to an increase of database load.

For GitLab.com we measured the impact of not using events caching and
found no measurable increase in response timings. Meanwhile not flushing
the events cache lead to the "events" table having no more dead tuples
as now rows are only inserted into this table.

As a result of this we are hereby removing events caching as it does not
appear to help and only increases database load.

For more information see the following comment:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6578#note_18864037
2016-11-23 14:17:07 +01:00
..
boards Merge branch 'master' into issue-board-sidebar 2016-10-19 22:33:34 +01:00
cycle_analytics refactored updater and updated specs 2016-11-18 13:00:38 +01:00
application_controller.rb Remove project_labels from Projects::ApplicationController 2016-10-19 14:58:24 -02:00
artifacts_controller.rb Extract ref_name and path in before_action, feedback: 2016-08-26 13:10:03 +08:00
avatars_controller.rb Remove event caching code 2016-11-23 14:17:07 +01:00
badges_controller.rb
blame_controller.rb
blob_controller.rb Unify anchor link format for MR diff files !7298 2016-11-15 20:51:21 +03:00
boards_controller.rb Fix board relates specs 2016-10-11 11:47:56 -03:00
branches_controller.rb Add button to delete all merged branches 2016-11-09 21:04:03 +01:00
builds_controller.rb Merge remote-tracking branch 'upstream/master' into pipeline-emails 2016-09-21 16:19:07 +08:00
commit_controller.rb Add Pipelines for Commit 2016-09-27 22:11:13 +01:00
commits_controller.rb Pass @ref along so we know which pipeline to show 2016-10-24 22:26:06 +08:00
compare_controller.rb
container_registry_controller.rb
cycle_analytics_controller.rb Use stage description form endpoint response 2016-11-21 13:57:10 -05:00
deploy_keys_controller.rb
discussions_controller.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
environments_controller.rb Add EnvironmentSerializer to EnvironmentsController 2016-11-16 11:58:06 +00:00
find_file_controller.rb
forks_controller.rb Add authentication for for create action. Add more tests for for new and create actions 2016-11-15 01:59:11 +03:00
git_http_client_controller.rb Merge branch 'fix-unathorized-cloning' into 'security' 2016-11-09 12:27:17 +01:00
git_http_controller.rb Merge branch 'fix-unathorized-cloning' into 'security' 2016-11-09 12:27:17 +01:00
graphs_controller.rb Use Linguist::Language[] instead of creating a hash 2016-10-10 16:18:26 +02:00
group_links_controller.rb Only skip group when it's actually a group in the "Share with group" select 2016-11-04 12:42:19 +01:00
hooks_controller.rb Add option to confidential issues events to trigger Webhooks 2016-08-31 18:34:23 -03:00
imports_controller.rb
issues_controller.rb Backport some changes done from Time Tracking feature in EE. 2016-11-18 21:19:04 -05:00
labels_controller.rb Use @project as default on ToggleSubscriptionAction concern 2016-11-17 15:10:13 -02:00
lfs_api_controller.rb Move the objects method to LfsHelper so that it is also available to LfsStorageController 2016-11-10 20:04:00 -06:00
lfs_storage_controller.rb Verify JWT messages from gitlab-workhorse 2016-09-05 15:05:31 +02:00
merge_requests_controller.rb Do not use MergeRequest#commits in define_pipelines_vars 2016-11-22 15:21:01 +01:00
milestones_controller.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
network_controller.rb Refactor method name 2016-11-08 05:12:17 +09:00
notes_controller.rb Backport some changes done from Time Tracking feature in EE. 2016-11-18 21:19:04 -05:00
pipelines_controller.rb Improve code readability in pipelines controller 2016-11-07 13:33:04 +01:00
pipelines_settings_controller.rb Fix wrong template rendered when CI/CD settings aren't update successfully 2016-11-22 16:18:05 +01:00
project_members_controller.rb Implement CreateMembers service to make controller thin 2016-11-01 10:17:04 +02:00
protected_branches_controller.rb
raw_controller.rb
refs_controller.rb
releases_controller.rb
repositories_controller.rb
runner_projects_controller.rb
runners_controller.rb
services_controller.rb Make chat authorization to work [ci skip] 2016-11-17 21:34:23 +01:00
snippets_controller.rb Start Frontend work, fix routing problem 2016-09-19 19:50:40 +03:00
tags_controller.rb Fix lightweight tags not processed correctly by GitTagPushService 2016-10-28 13:53:18 -03:00
templates_controller.rb
todos_controller.rb
tree_controller.rb
triggers_controller.rb
uploads_controller.rb
variables_controller.rb
wikis_controller.rb