gitlab-org--gitlab-foss/spec/models
Yorick Peterse 4e87c02313
Move pushes_since_gc to Redis
This moves tracking of the pushes since the last Git GC from PostgreSQL
to Redis. This reduces the number of writes on the "projects" table.
This in turn reduces the vacuuming overhead.

The lease used for incrementing the counter has been removed. This lease
was mostly put in place to prevent high database load but this isn't
needed anymore due to the counter now being stored in Redis.

Fixes gitlab-org/gitlab-ce#22125
2016-09-13 22:27:51 +02:00
..
ci Merge branch 'smart-pipeline-duration' into 'master' 2016-09-08 17:38:20 +00:00
concerns Merge branch 'issue_19734' into 'master' 2016-09-01 15:28:14 +00:00
hooks Clean up project destruction 2016-08-10 09:28:21 -07:00
members remove Ability.abilities 2016-08-30 11:35:06 -07:00
network Fix Error 500 resulting when loading network graph 2016-08-20 09:57:20 -07:00
project_services Remove redundant tests, feedback: 2016-09-06 19:53:02 +08:00
ability_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
abuse_report_spec.rb
appearance_spec.rb
application_setting_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
award_emoji_spec.rb
blob_spec.rb Limit the size of SVGs when viewing them as blobs 2016-08-15 13:42:52 +02:00
board_spec.rb The lists: Backlog, and Done cannot be destroyed 2016-08-17 12:58:57 -03:00
broadcast_message_spec.rb Now we already included it in spec_helper.rb 2016-08-20 00:11:03 +08:00
build_spec.rb Add information about user and manual build start to runner as variables 2016-09-09 12:09:16 +03:00
commit_range_spec.rb Use JavaScript tooltips for mentions (!5301) 2016-09-01 01:21:34 +02:00
commit_spec.rb Expand commit message width in repo view 2016-08-02 11:40:44 -05:00
commit_status_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
compare_spec.rb switch from diff_file_collection to diffs 2016-08-03 07:00:20 +02:00
deploy_key_spec.rb
deploy_keys_project_spec.rb
deployment_spec.rb Method names changed to #includes_commit? 2016-08-12 10:43:04 +02:00
diff_note_spec.rb Optimize discussion notes resolving and unresolving 2016-09-06 12:14:09 -03:00
discussion_spec.rb Optimize discussion notes resolving and unresolving 2016-09-06 12:14:09 -03:00
email_spec.rb
environment_spec.rb Method names changed to #includes_commit? 2016-08-12 10:43:04 +02:00
event_spec.rb
external_issue_spec.rb
forked_project_link_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
generic_commit_status_spec.rb
global_milestone_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
group_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
identity_spec.rb
issue_spec.rb Method for returning issues readable by a user 2016-07-29 12:51:18 +02:00
key_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
label_link_spec.rb
label_spec.rb Destroy related lists when a label is removed 2016-08-17 12:58:58 -03:00
legacy_diff_note_spec.rb Store discussion_id on Note for faster discussion lookup. 2016-08-17 12:16:46 -05:00
list_spec.rb Add a movable scope and a movable? method to List model 2016-08-17 12:58:59 -03:00
member_spec.rb Merge branch 'master' into expiration-date-on-memberships 2016-08-18 15:54:07 +01:00
merge_request_diff_spec.rb Add code improvements to merge request version feature 2016-08-25 10:59:30 +03:00
merge_request_spec.rb Merge branch 'artifacts-from-ref-and-build-name' into 'master' 2016-08-30 18:03:16 +00:00
milestone_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
namespace_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
note_spec.rb remove Ability.abilities 2016-08-30 11:35:06 -07:00
notification_setting_spec.rb
personal_access_token_spec.rb
project_feature_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
project_group_link_spec.rb
project_snippet_spec.rb
project_spec.rb Move pushes_since_gc to Redis 2016-09-13 22:27:51 +02:00
project_team_spec.rb Only use RequestStore in ProjectTeam#max_member_access_for_user if it is active 2016-08-01 13:11:45 -07:00
project_wiki_spec.rb
protected_branch_spec.rb
release_spec.rb
repository_spec.rb Express intentions as expectations 2016-09-07 16:56:11 +02:00
service_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
snippet_spec.rb
spam_log_spec.rb
todo_spec.rb
tree_spec.rb
user_agent_detail_spec.rb Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
user_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
wiki_page_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00