gitlab-org--gitlab-foss/spec/services/users
Yorick Peterse 3e561736b2
Cache the number of user SSH keys
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.
2017-11-16 14:59:38 +01:00
..
activity_service_spec.rb Create idea of read-only database 2017-10-06 22:37:40 +02:00
build_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
create_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
destroy_service_spec.rb Make sure repository's removal work for legacy and hashed storages 2017-08-22 06:33:20 +02:00
keys_count_service_spec.rb Cache the number of user SSH keys 2017-11-16 14:59:38 +01:00
last_push_event_service_spec.rb Only cache the event for the fork-source when it exists 2017-10-22 20:24:47 +03:00
migrate_to_ghost_user_service_spec.rb Ensure all project factories use `:repository` trait or `:empty_project` 2017-08-01 14:51:52 -04:00
refresh_authorized_projects_service_spec.rb Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
update_service_spec.rb refactor users update service 2017-09-28 08:46:39 +02:00