From a1cfa0cec6334da76205f5717ae21386b8a91da6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 23 Apr 2022 20:26:46 +0100 Subject: [PATCH] More profiling --- inbox.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/inbox.py b/inbox.py index 9c2eb3c27..33ec3c55a 100644 --- a/inbox.py +++ b/inbox.py @@ -5187,10 +5187,10 @@ def run_inbox_queue(server, str(queue_filename)) if len(queue) > 0: queue.pop(0) - fitness_performance(inbox_start_time, server.fitness, - 'INBOX', '_inbox_post_recipients', - debug) continue + fitness_performance(inbox_start_time, server.fitness, + 'INBOX', '_post_recipients', + debug) # if there are only a small number of followers then # process them as if they were specifically @@ -5230,6 +5230,10 @@ def run_inbox_queue(server, lists_enabled = get_config_param(base_dir, "listsEnabled") content_license_url = get_config_param(base_dir, "contentLicenseUrl") + fitness_performance(inbox_start_time, server.fitness, + 'INBOX', 'distribute_post', + debug) + # for posts addressed to specific accounts for handle, _ in recipients_dict.items(): destination = \