• Yorick Peterse's avatar
    Cache Appearance instances in Redis · 26bb5041
    Yorick Peterse authored
    This caches the result of Appearance.first in a similar fashion to how
    ApplicationSetting instances are cached. We also add some NOT NULL
    constraints to the table and correct the timestamp types.
    
    Fixes gitlab-org/gitlab-ce#36066, fixes gitlab-org/gitlab-ce#31698
    26bb5041
appearance.rb 916 Bytes