Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-10Allow `rake cache:clear` clearing pipeline status cacheLin Jen-Shin
* Use the correct key prefix * Clear old cache keys TODO: At some point we could remove clearing old cache keys.
2017-07-11Support multiple Redis instances based on queue typePaul Charlton
2017-04-21Remove the ClearDatabaseCacheWorkerNick Thomas
2017-02-23Don’t exclude some file in lib from rubocopDouwe Maan
2016-10-22Stop clearing the database cache on rake cache:clearNick Thomas
2016-10-07Add markdown cache columns to the database, but don't use them yetNick Thomas
This commit adds a number of _html columns and, with the exception of Note, starts updating them whenever the content of their partner fields changes. Note has a collision with the note_html attr_accessor; that will be fixed later A background worker for clearing these cache columns is also introduced - use `rake cache:clear` to set it off. You can clear the database or Redis caches separately by running `rake cache:clear:db` or `rake cache:clear:redis`, respectively.
2016-04-07Put CACHE_NAMESPACE in the Gitlab::Redis moduleJacob Vosmaer
2016-04-04Add Gitlab::Redis connection poolJacob Vosmaer
2016-03-09Parse config/resque.yml in one place onlyJacob Vosmaer
2016-02-25Batch size >1000 does not pay offJacob Vosmaer
We did a small experiment to see how a full scan of the Redis keys on gitlab.com speeds up as we increase the batch size. The values on the right are time in seconds for a full scan (no delete operations). count: 10); 284.500529021 count: 100); 86.21216934 count: 1_000); 60.931676195 count: 10_000); 60.96355610 count: 100_000); 62.378172541 It looks like 1,000 is a good number.
2016-02-19Improve readability of 'rake cache:clear' codeJacob Vosmaer
2016-02-18Use SCAN during 'rake cache:clear'Jacob Vosmaer
This allows 'rake cache:clear' to delete millions of keys without choking. It requires Redis 2.8.0 or newer but we needed that already anyway.
2015-06-23Replace GITLAB with GitLab in rake task descriptionsDmitriy Zaporozhets
2014-06-20Patch `rake cache:clear` for large amounts of keysJacob Vosmaer
2013-04-01rake task to clear redis cacheDmitriy Zaporozhets