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

storage/filesystem: check file object before using cache #1056

Merged
merged 1 commit into from
Jan 30, 2019

Commits on Jan 30, 2019

  1. storage/filesystem: check file object before using cache

    If the cache is shared between several repositories getFromUnpacked can
    erroneously return an object from other repository.
    
    This decreases performance a little bit as there's an extra fs operation
    when the object is in the cache but is correct when the cache is shared.
    
    Signed-off-by: Javi Fontan <jfontan@gmail.com>
    jfontan committed Jan 30, 2019
    Configuration menu
    Copy the full SHA
    51b01ef View commit details
    Browse the repository at this point in the history