Skip to content
Snippets Groups Projects
  1. Jun 09, 2023
  2. Jun 08, 2023
  3. May 04, 2023
  4. Apr 25, 2023
  5. Nov 10, 2022
  6. Nov 08, 2022
  7. Sep 02, 2020
    • Kerri Miller's avatar
      Create Gitlab::Utils::Gzip module · 767737df
      Kerri Miller authored and Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre committed
      This module holds common logic for compression and decompression of
      strings via ActiveSupport::Gzip. The destination of these compressed
      strings is usually Redis, so encoding is handled, as is compression
      detection when decompressing.
      767737df
  8. Jun 24, 2020
    • Sean McGivern's avatar
      Add Redis Cluster validator · efcb8544
      Sean McGivern authored and Bob Van Landuyt's avatar Bob Van Landuyt committed
      If we want to use Redis Cluster, we won't be able to use a multi-key
      command with keys that hash to different slots. For instance, a simple:
      
          MGET foo bar
      
      Won't work because 'foo' and 'bar' hash to different slots, and
      therefore could be on different shards of the cluster.
      
      This is a client-side validator to ensure that we can annotate existing
      cross-slot commands easily, as part of the data gathering for whether or
      not we use Redis Cluster.
      efcb8544
  9. Apr 30, 2020
  10. Dec 11, 2019
  11. May 06, 2019
  12. Dec 21, 2018
    • Oswaldo Ferreira's avatar
      Cache diff highlight in discussions · 7cf49477
      Oswaldo Ferreira authored
      This commit handles note diffs caching, which considerably improves
      the performance on merge requests with lots of comments.
      Important to note that the caching approach taken here is different
      from `Gitlab::Diff::HighlightCache`. We do not reset the whole cache
      when a new push is sent or anything else. That's because discussions
      diffs are persisted and do not change.
      7cf49477
Loading