1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 23:32:40 +01:00
phorge-phorge/src/applications/cache
epriestley df31405d64 Improve compatibility of "Config > Cache Status" across APCu versions
Summary:
Ref T13164. See PHI790. Older versions of APCu reported cache keys as "key" from `apcu_cache_info()`. APC and newer APCu report it as "info".

Check both indexes for compatibility.

Test Plan:
  - Locally, with newer APCu, saw no behavioral change.
  - Will double check on `admin`, which has an older APCu with the "key" behavior.
  - (I hunted this down by dumping `apcu_cache_info()` on `admin` to see what was going on.)

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13164

Differential Revision: https://secure.phabricator.com/D19569
2018-08-08 15:07:03 -07:00
..
__tests__ Introduce a request cache mechanism 2015-06-04 17:27:31 -07:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
management Add a cache purger for builtin files 2017-06-22 11:13:23 -07:00
purger Add a cache purger for builtin files 2017-06-22 11:13:23 -07:00
spec Improve compatibility of "Config > Cache Status" across APCu versions 2018-08-08 15:07:03 -07:00
storage Add "persistence" types (data, cache, or index) to tables, and tweak what "storage dump" dumps 2017-10-04 12:09:33 -07:00
PhabricatorCachedClassMapQuery.php Provide a cached class map query for making key-based class lookups more efficient 2016-12-06 08:34:29 -08:00
PhabricatorCaches.php When we purge the request cache, also force PHP to collect cycles 2017-09-28 12:37:22 -07:00
PhabricatorKeyValueDatabaseCache.php Cache generation of the SSH authentication keyfile for sshd 2016-10-21 07:29:40 -07:00
PhabricatorKeyValueSerializingCacheProxy.php Introduce a serializing key-value cache proxy 2016-12-06 09:11:32 -08:00