Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

plumbing/cache: check for empty cache list #1076

Merged
merged 1 commit into from
Feb 25, 2019

Commits on Feb 25, 2019

  1. plumbing/cache: check for empty cache list

    If there is wrong data in the cache it may cause the eviction code to
    empty the object list and cause a panic. This patch adds a check and
    sets the cache usage to 0 when this happens.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    e9d0393 View commit details
    Browse the repository at this point in the history