Page MenuHomePhabricator

D7482.diff
No OneTemporary

D7482.diff

Index: src/applications/conduit/call/ConduitCall.php
===================================================================
--- src/applications/conduit/call/ConduitCall.php
+++ src/applications/conduit/call/ConduitCall.php
@@ -79,6 +79,25 @@
}
public function execute() {
+ $profiler = PhutilServiceProfiler::getInstance();
+ $call_id = $profiler->beginServiceCall(
+ array(
+ 'type' => 'conduit',
+ 'method' => $this->method,
+ ));
+
+ try {
+ $result = $this->executeMethod();
+ } catch (Exception $ex) {
+ $profiler->endServiceCall($call_id, array());
+ throw $ex;
+ }
+
+ $profiler->endServiceCall($call_id, array());
+ return $result;
+ }
+
+ private function executeMethod() {
$user = $this->getUser();
if (!$user) {
$user = new PhabricatorUser();

File Metadata

Mime Type
text/plain
Expires
Sat, Jun 29, 11:20 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6293538
Default Alt Text
D7482.diff (839 B)

Event Timeline