HomePhabricator

objectcache: detect default getWithSetCallback() set options

Authored by aaron on Oct 22 2016, 4:12 AM.

Description

objectcache: detect default getWithSetCallback() set options

This works by setting a callback to return the cache set
options. The callback will watch DB reads and create a
merged result from said usage.

This handles callers that are missing getCacheSetOptions().

Change-Id: Ia264f011e45e8cf105480955dad7e2c4c2357b73