summaryrefslogtreecommitdiff
path: root/classes/digest.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-04-09 22:31:42 +0300
committerAndrew Dolgov <[email protected]>2023-04-09 22:31:42 +0300
commitfd5e0f98c4174bea254b790606f323b0ca73292a (patch)
tree36f6c03fb487f8582f0cdee5eeff7e8503ac5950 /classes/digest.php
parente18295a3644a92280384bdb2a68e0ac436fea376 (diff)
even more tracing
Diffstat (limited to 'classes/digest.php')
-rw-r--r--classes/digest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/digest.php b/classes/digest.php
index b19c37c5f..d77a83b8c 100644
--- a/classes/digest.php
+++ b/classes/digest.php
@@ -2,6 +2,7 @@
class Digest
{
static function send_headlines_digests(): void {
+ $scope = 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
@@ -75,6 +76,8 @@ class Digest
}
}
}
+
+ $scope->close();
Debug::log("All done.");
}