gitlab-org--gitlab-foss/spec/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 Remove ci_ prefix from all ci related things 2015-12-11 18:02:09 +01:00
issues Tag service specs 2015-12-09 11:55:49 +01:00
merge_requests Use a MR with commits. 2016-01-20 14:41:23 -05:00
milestones Tag service specs 2015-12-09 11:55:49 +01:00
notes Fix Rubocop error 2016-01-28 14:44:45 -05:00
projects Extract Projects::ImportService service from RepositoryImportWorker 2016-01-25 22:58:30 -02:00
archive_repository_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
create_commit_builds_service_spec.rb Don't create CI status for refs that doesn't have .gitlab-ci.yml, even if the builds are enabled 2015-12-17 16:33:47 +01:00
create_release_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
create_snippet_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
destroy_group_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
event_create_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
git_hooks_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
git_push_service_spec.rb Smarter flushing of branch statistics caches 2016-02-09 17:17:56 +01:00
git_tag_push_service_spec.rb Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
notification_service_spec.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_spec.rb Code style fixes and some code simplified 2016-01-08 16:26:04 -02:00
search_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
system_hooks_service_spec.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_spec.rb Link to milestone in "Milestone changed" system note 2015-12-24 14:44:17 +01:00
test_hook_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
update_release_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
update_snippet_service_spec.rb Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00