summaryrefslogtreecommitdiff
path: root/classes/digest.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-10-20 22:39:41 +0300
committerAndrew Dolgov <[email protected]>2023-10-20 22:39:41 +0300
commitd3fadc0bd0256697e4a8e9a445d48d9620339f04 (patch)
treee057b3dec2303faec913dc876b52340cabbe7877 /classes/digest.php
parentbf6e3c381b31d71113dae521784c4f9b00f22de3 (diff)
stop calling spans scopes
Diffstat (limited to 'classes/digest.php')
-rw-r--r--classes/digest.php4
1 files changed, 2 insertions, 2 deletions
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.");
}