gitlab-org--gitlab-foss/spec
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
..
config Small refactor and a few documentation fixes 2016-08-04 19:02:39 +02:00
controllers Merge branch 'add-remember-option-u2f' into 'master' 2016-09-09 18:42:11 +00:00
factories Ensure specs on sorting of issues in API are deterministic on MySQL 2016-09-12 15:44:41 +02:00
features Merge branch 'add-remember-option-u2f' into 'master' 2016-09-09 18:42:11 +00:00
finders Improve PipelinesFinder spec so that it does not depend on hard-coded database IDs 2016-09-09 16:21:46 -04:00
fixtures Returns the total number of issues in the JSON response 2016-08-31 09:30:37 +01:00
helpers Merge branch 'sidekiq-ps-parsing' into 'master' 2016-09-09 09:53:24 +00:00
initializers Give priority to environment variables 2016-08-03 15:48:48 +01:00
javascripts Merge branch 'add-remember-option-u2f' into 'master' 2016-09-09 18:42:11 +00:00
lib Merge branch '21569-dont-add-created-by-for-matched-users' into 'master' 2016-09-12 20:08:33 +00:00
mailers Merge branch 'master' into 'expiration-date-on-memberships' 2016-08-19 10:58:01 +00:00
models Move pushes_since_gc to Redis 2016-09-13 22:27:51 +02:00
policies add project_policy_spec to replace .project_abilities spec 2016-08-30 11:35:06 -07:00
requests Merge branch 'fix-commit-status' into 'master' 2016-09-13 08:33:28 +00:00
routing Fix markdown help references 2016-08-26 09:38:21 -05:00
services Move pushes_since_gc to Redis 2016-09-13 22:27:51 +02:00
support Merge branch 'restrict_ldap_return_attributes' into 'master' 2016-09-09 18:59:33 +00:00
tasks/gitlab Use File::exist? instead of File::exists? 2016-08-11 13:54:45 +03:00
uploaders
views add feature test 2016-09-06 14:42:43 +02:00
workers Added cron to prune events older than 12 months. 2016-09-07 19:41:25 +02:00
factories_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
rails_helper.rb
simplecov_env.rb Bump SimpleCov merge timeout to 365 days 2016-08-22 13:44:14 +02:00
spec_helper.rb Merge remote-tracking branch 'upstream/master' into artifacts-from-ref-and-build-name 2016-08-24 20:56:30 +08:00
teaspoon_env.rb Add test coverage analysis for CoffeeScript (!5052) 2016-08-07 21:52:37 +02:00