1. 10 Mar, 2014 6 commits
  2. 07 Mar, 2014 3 commits
  3. 06 Mar, 2014 7 commits
  4. 05 Mar, 2014 1 commit
  5. 04 Mar, 2014 12 commits
  6. 03 Mar, 2014 10 commits
  7. 28 Feb, 2014 1 commit
    • Matt Stancliff's avatar
      Force INFO used_memory_peak to match peak memory · f1c9a203
      Matt Stancliff authored
      used_memory_peak only updates in serverCron every server.hz,
      but Redis can use more memory and a user can request memory
      INFO before used_memory_peak gets updated in the next
      cron run.
      
      This patch updates used_memory_peak to the current
      memory usage if the current memory usage is higher
      than the recorded used_memory_peak value.
      
      (And it only calls zmalloc_used_memory() once instead of
      twice as it was doing before.)
      f1c9a203