Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-05 16:51:18 +0300
committerGitHub <noreply@github.com>2022-05-05 16:51:18 +0300
commit0690646d09430ce363b07bc2cd59283e303314eb (patch)
tree7d42f57bdf64cf96b7c1ec3c841f587e13632e51
parentd3efd40a24be45a2a38a904c111d10fa4de01f81 (diff)
parentba88187649a80e0f5370ca4b5755b1faf9fe0a7c (diff)
Merge pull request #32279 from nextcloud/feat/profiler-cache-hit-info
Add hit information to profiler
-rw-r--r--lib/private/Memcache/ProfilerWrapperCache.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Memcache/ProfilerWrapperCache.php b/lib/private/Memcache/ProfilerWrapperCache.php
index 8e9b160ba0e..6e76989dddd 100644
--- a/lib/private/Memcache/ProfilerWrapperCache.php
+++ b/lib/private/Memcache/ProfilerWrapperCache.php
@@ -69,6 +69,7 @@ class ProfilerWrapperCache extends AbstractDataCollector implements IMemcacheTTL
'start' => $start,
'end' => microtime(true),
'op' => $this->getPrefix() . '::get::' . $key,
+ 'hit' => $ret !== null,
];
return $ret;
}