Files
gerrit/java/com
Dave Borowitz dab5155259 Allow persistent caches to be not persisted by default
H2CacheFactory already respected a non-positive value and disabled
persistence when explicitly configured in gerrit.config. However, the
implementation of PersistentCacheProvider would never return a
non-positive value from diskLimit(), so it was impossible to disable
persistence by default. Fix this so PersistentCacheProvider uses 128 MiB
when the instance is created, but allow overriding with a non-positive
value.

Change-Id: I189f6dad2003c8bb8ba6e05705e2903c099759c3
2018-05-16 14:20:06 -07:00
..