summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-xclasses/rpc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index 204b002d5..afd3c0c79 100755
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -106,6 +106,8 @@ class RPC extends Handler_Protected {
}
function getAllCounters(): void {
+ $scope = Tracer::start(__METHOD__);
+
@$seq = (int) $_REQUEST['seq'];
$feed_id_count = (int) ($_REQUEST["feed_id_count"] ?? -1);
@@ -132,6 +134,7 @@ class RPC extends Handler_Protected {
'seq' => $seq
];
+ $scope->close();
print json_encode($reply);
}