From fd5e0f98c4174bea254b790606f323b0ca73292a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 9 Apr 2023 22:31:42 +0300 Subject: even more tracing --- classes/digest.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'classes/digest.php') 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."); } -- cgit v1.2.3-54-g00ecf