From d3fadc0bd0256697e4a8e9a445d48d9620339f04 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 20 Oct 2023 22:39:41 +0300 Subject: stop calling spans scopes --- classes/digest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/digest.php') diff --git a/classes/digest.php b/classes/digest.php index 02fa76bf0..27009530f 100644 --- a/classes/digest.php +++ b/classes/digest.php @@ -2,7 +2,7 @@ class Digest { static function send_headlines_digests(): void { - $scope = Tracer::start(__METHOD__); + $span = Tracer::start(__METHOD__); $user_limit = 15; // amount of users to process (e.g. emails to send out) $limit = 1000; // maximum amount of headlines to include @@ -77,7 +77,7 @@ class Digest } } - $scope->end(); + $span->end(); Debug::log("All done."); } -- cgit v1.2.3-54-g00ecf