Skip to content
Snippets Groups Projects
  1. Jul 19, 2015
  2. Jul 17, 2015
    • Dmitriy Zaporozhets's avatar
      Merge branch 'advanced-cache' into 'master' · 2fa3acaa
      Dmitriy Zaporozhets authored
      Advanced cache
      
      Fixes #1993
      
      * Build missing cache values in background job after each push
      * Store commit_count in project table. Refresh in background job
      * moved repository size calculation in background job
      
      
      ## Advantages
      
      Every time push is triggered - we build cache for project even without user visiting project page. 
      That means first visit is as fast as others now. This is especially good for active projects where people have some requests fast because of cache and some slow - because cache was build in their request. 
      
      Between cache expired and cache built we we had gap when Linux repo can give 502 error because calculation commits count takes 30 seconds or even more. 
      Using value from database fix this problem. Before cache is updated you see old value from database. After - you see new one. 
      
      Basically this merge request is super win to GitLab. We don't do some heavy operations in user request but instead in background job. 
      
      ## Temporary problem
      
      After this migration all projects will have `0` commits in database. It fill be replaced with real value on next push. I did not add recalculation to migration because it will last forever on big instances.  Can be fixed by adding rake task which will go in background on live instance without downtime
      
      See merge request !986
      2fa3acaa
  3. May 20, 2015
    • Robert Speicher's avatar
      Update ffaker gem · 9789b56a
      Robert Speicher authored
      Adds a version requirement which it didn't have before, at 2.0.0. This
      version has breaking API changes in that the namespace is now `FFaker`
      instead of `Faker`.
      9789b56a
  4. Nov 10, 2014
  5. Oct 26, 2014
  6. Sep 27, 2014
  7. Sep 10, 2014
  8. Aug 11, 2014
  9. May 05, 2014
  10. Mar 15, 2014
  11. Feb 28, 2014
  12. Feb 25, 2014
  13. Jan 23, 2014
  14. Jan 19, 2014
  15. Oct 17, 2013
  16. Jun 20, 2013
  17. Feb 09, 2013
  18. Jan 05, 2013
  19. Dec 27, 2012
  20. Dec 11, 2012
  21. Nov 21, 2012
  22. Nov 23, 2012
  23. Nov 13, 2012
  24. Dec 15, 2011
  25. Dec 04, 2011
Loading