Differential D9911 Diff 23791 src/applications/repository/graphcache/PhabricatorRepositoryGraphCache.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/graphcache/PhabricatorRepositoryGraphCache.php
| Show First 20 Lines • Show All 270 Lines • ▼ Show 20 Lines | if ($bucket_data !== $rebuild_data) { | ||||
| $cache_level1->setKey($cache_key, $bucket_data); | $cache_level1->setKey($cache_key, $bucket_data); | ||||
| } | } | ||||
| return $bucket_data; | return $bucket_data; | ||||
| } | } | ||||
| /** | /** | ||||
| * Rebuild a cache bucket, amending existing data if avialable. | * Rebuild a cache bucket, amending existing data if available. | ||||
| * | * | ||||
| * @param int Bucket key, from @{method:getBucketKey}. | * @param int Bucket key, from @{method:getBucketKey}. | ||||
| * @param array Existing bucket data. | * @param array Existing bucket data. | ||||
| * @return array Rebuilt bucket data. | * @return array Rebuilt bucket data. | ||||
| * @task cache | * @task cache | ||||
| */ | */ | ||||
| private function rebuildBucket($bucket_key, array $current_data) { | private function rebuildBucket($bucket_key, array $current_data) { | ||||
| ▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines | |||||