gitlab-org--gitlab-foss/app/services
Yorick Peterse 2ce0d06389 Smarter flushing of branch statistics caches
Instead of flushing the behind/ahead counts for all branches upon every
push we now only flush the cache of branches that actually need to have
these statistics recalculated. There are now basically 2 scenarios and
their effects:

1. A user pushes a commit to the default branch, this results in the
   cache being flushed for all branches.
2. A user pushes to a non default branch, this results in _only_ the
   cache for that branch being flushed.

The existing code (Repository#expire_cache) remains backwards compatible
with the previous behaviour, the new behaviour is only applied when a
branch name is passed as an argument. This ensures that when for example
a project is deleted the cache for all branches is flushed.
2016-02-09 17:17:56 +01:00
..
ci
files
issues
merge_requests Param should be present, not just truthy 2016-01-14 11:30:28 +01:00
milestones
notes [WIP] Background process note logic for #3948 2016-01-28 13:04:42 -05:00
oauth2
projects First pass at deleting projects in the background. 2016-01-29 09:14:16 -05:00
search
archive_repository_service.rb
audit_event_service.rb
base_service.rb
compare_service.rb
create_branch_service.rb
create_commit_builds_service.rb
create_release_service.rb
create_snippet_service.rb
create_spam_log_service.rb Support Akismet spam checking for creation of issues via API 2016-02-02 11:25:44 -02:00
create_tag_service.rb Generate builds when creating tag using web interface 2016-01-11 12:37:27 +01:00
delete_branch_service.rb
delete_tag_service.rb
delete_user_service.rb First pass at deleting projects in the background. 2016-01-29 09:14:16 -05:00
destroy_group_service.rb First pass at deleting projects in the background. 2016-01-29 09:14:16 -05:00
event_create_service.rb
git_hooks_service.rb
git_push_service.rb Smarter flushing of branch statistics caches 2016-02-09 17:17:56 +01:00
git_tag_push_service.rb
gravatar_service.rb
issuable_base_service.rb
notification_service.rb This will ensure previous assignee gets an email even if his notif level is "on mention" 2016-01-15 17:57:45 +01:00
repair_ldap_blocked_user_service.rb Code style fixes and some code simplified 2016-01-08 16:26:04 -02:00
system_hooks_service.rb Merge branch 'add_username_to_user_system_hooks' of https://github.com/tbeadle/gitlabhq 2016-01-13 10:12:30 +01:00
system_note_service.rb
test_hook_service.rb
update_release_service.rb
update_snippet_service.rb