summaryrefslogtreecommitdiff
path: root/app/services/base_count_service.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2022-08-031-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-06-081-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-05-111-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+2
|
* CE-specific changes for designs `user_notes_count`Luke Duncalfe2019-08-271-1/+1
| | | | | | | | | | | | | | | Notes call `#after_note_created` and `#after_note_destroyed` on their noteable in callbacks, so the noteable can perform tasks particular to them, like cache expiry. This is in preparation of the EE-specific class `DesignManagement::Design` clearing its `user_notes_count` cache when its note are created or destroyed. Refactoring Rspec behaviour testing of a counter caching service into a shared example. https://gitlab.com/gitlab-org/gitlab-ee/issues/13353
* Enable frozen string in apps/uploaders/*.rbgfyoung2018-07-161-0/+2
| | | | Partially addresses #47424.
* Fix refresh cache for open issues count serviceFelipe Artur2018-06-211-1/+5
|
* Code review comments appliedFrancisco Lopez2017-12-011-0/+4
|
* More preloading improvement and added batch count servicesFrancisco Lopez2017-12-011-2/+2
|
* allow caching options to be specified for counting servicesBrett Walker2017-11-301-1/+7
|
* Cache the number of user SSH keyscache-user-keys-countYorick Peterse2017-11-161-0/+34
By caching the number of personal SSH keys we reduce the number of queries necessary on pages such as ProjectsController#show (which can end up querying this data multiple times). The cache is refreshed/flushed whenever an SSH key is added, removed, or when a user is removed.