gitlab-org--gitlab-foss/app/services
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
..
auth Fix private method visibility in container registry 2016-07-19 15:12:06 +02:00
boards Fix issue boards leak private label names and descriptions 2016-08-29 16:04:28 -03:00
ci Make the cases clear instead of having guards 2016-09-12 18:49:58 +08:00
commits Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' "" 2016-07-18 10:16:56 +02:00
files Prevents accidental overwrites of commits from UI 2016-08-15 02:34:55 +00:00
groups
issuable Add bulk update support for merge requests list 2016-09-08 11:52:20 +03:00
issues Add bulk update support for merge requests list 2016-09-08 11:52:20 +03:00
members Ensure last group owner isn't removed on expiry 2016-08-18 21:32:42 +01:00
merge_requests Prepend blank line to close message on merge request 2016-09-01 14:06:45 -05:00
milestones Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
notes Merge branch 'master' into 4273-slash-commands 2016-08-16 17:49:53 -05:00
oauth2
projects Move pushes_since_gc to Redis 2016-09-13 22:27:51 +02:00
protected_branches Backport changes from gitlab-org/gitlab-ee!581 to CE. 2016-08-16 11:05:14 +05:30
search
slash_commands Fix behavior around commands with optional arguments 2016-08-18 14:29:49 -05:00
wiki_pages Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
akismet_service.rb Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
audit_event_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
base_service.rb remove Ability.abilities 2016-08-30 11:35:06 -07:00
compare_service.rb switch from diff_file_collection to diffs 2016-08-03 07:00:20 +02:00
create_branch_service.rb Fix of 'Commits being passed to custom hooks are already reachable when using the UI' 2016-07-19 07:45:22 +03:00
create_deployment_service.rb
create_release_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
create_snippet_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
create_tag_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
delete_branch_service.rb Simplify the name for data builder, feedback: 2016-08-12 16:09:29 +08:00
delete_tag_service.rb Simplify the name for data builder, feedback: 2016-08-12 16:09:29 +08:00
delete_user_service.rb Fix bug where destroying a namespace would not always destroy projects 2016-08-11 15:36:35 -07:00
destroy_group_service.rb Fix bug where destroying a namespace would not always destroy projects 2016-08-11 15:36:35 -07:00
event_create_service.rb
git_hooks_service.rb Better message for git hooks and file locks 2016-07-04 15:31:49 +03:00
git_push_service.rb Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into pipeline-hooks-without-slack 2016-08-16 21:17:15 +01:00
git_tag_push_service.rb Simplify the name for data builder, feedback: 2016-08-12 16:09:29 +08:00
gravatar_service.rb
ham_service.rb Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
import_export_clean_up_service.rb using shared path for project import uploads and refactored gitlab remove export worker 2016-08-04 12:51:55 +02:00
issuable_base_service.rb if issue is not valid we revert back to the old labels when updating 2016-08-30 18:39:03 +01:00
notification_service.rb Fix notification_service argument error of declined invitation emails 2016-08-19 13:18:13 +02:00
repair_ldap_blocked_user_service.rb
repository_archive_clean_up_service.rb using shared path for project import uploads and refactored gitlab remove export worker 2016-08-04 12:51:55 +02:00
spam_service.rb Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
system_hooks_service.rb
system_note_service.rb Capitalize mentioned issue timeline notes 2016-08-25 10:47:40 -05:00
test_hook_service.rb Simplify the name for data builder, feedback: 2016-08-12 16:09:29 +08:00
todo_service.rb Refresh todos count cache when an Issue/MR is deleted 2016-09-08 15:50:07 -03:00
update_release_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
update_snippet_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
user_agent_detail_service.rb Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00