diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-05 15:51:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 15:51:18 +0200 |
commit | 0690646d09430ce363b07bc2cd59283e303314eb (patch) | |
tree | 7d42f57bdf64cf96b7c1ec3c841f587e13632e51 /lib | |
parent | d3efd40a24be45a2a38a904c111d10fa4de01f81 (diff) | |
parent | ba88187649a80e0f5370ca4b5755b1faf9fe0a7c (diff) | |
download | nextcloud-server-0690646d09430ce363b07bc2cd59283e303314eb.tar.gz nextcloud-server-0690646d09430ce363b07bc2cd59283e303314eb.zip |
Merge pull request #32279 from nextcloud/feat/profiler-cache-hit-info
Add hit information to profiler
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Memcache/ProfilerWrapperCache.php | 1 |
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; } |