Merge pull request #32279 from nextcloud/feat/profiler-cache-hit-info

Add hit information to profiler
pull/31900/head
Carl Schwan 2022-05-05 15:51:18 +07:00 committed by GitHub
commit 0690646d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

@ -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;
}