Skip to content
Snippets Groups Projects
  1. Jul 26, 2018
  2. Apr 11, 2018
  3. Sep 07, 2017
  4. Aug 21, 2017
  5. Aug 11, 2017
    • Yorick Peterse's avatar
      Better caching and indexing of broadcast messages · a5c8a527
      Yorick Peterse authored
      Caching of BroadcastMessage instances has been changed so a cache stays
      valid as long as the default cache expiration time permits, instead of
      the cache being expired after 1 minute. When modifying broadcast
      messages the cache is flushed automatically.
      
      To remove the need for performing sequence scans on the
      "broadcast_messages" table we also add an index on (starts_at, ends_at,
      id), permitting PostgreSQL to use an index scan to get all necessary
      data.
      
      Finally this commit adds a few NOT NULL constraints to the table to
      match the Rails validations.
      
      Fixes gitlab-org/gitlab-ce#31706
      Verified
      a5c8a527
  6. Jun 15, 2017
  7. Oct 07, 2016
    • Nick Thomas's avatar
      Add markdown cache columns to the database, but don't use them yet · e94cd6fd
      Nick Thomas authored
      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.
      e94cd6fd
  8. Jun 03, 2016
  9. May 09, 2016
  10. May 06, 2016
  11. Jan 29, 2016
  12. Jan 13, 2016
  13. Dec 07, 2015
  14. Feb 05, 2015
  15. Jun 26, 2014
  16. Jun 04, 2014
  17. Apr 09, 2014
  18. Dec 19, 2013
  19. Dec 18, 2013
  20. Nov 13, 2013
  21. Nov 12, 2013
Loading