More profiling

main
Bob Mottram 2022-04-23 20:26:46 +01:00
parent 999cd95369
commit a1cfa0cec6
1 changed files with 7 additions and 3 deletions

View File

@ -5187,10 +5187,10 @@ def run_inbox_queue(server,
str(queue_filename)) str(queue_filename))
if len(queue) > 0: if len(queue) > 0:
queue.pop(0) queue.pop(0)
fitness_performance(inbox_start_time, server.fitness,
'INBOX', '_inbox_post_recipients',
debug)
continue continue
fitness_performance(inbox_start_time, server.fitness,
'INBOX', '_post_recipients',
debug)
# if there are only a small number of followers then # if there are only a small number of followers then
# process them as if they were specifically # process them as if they were specifically
@ -5230,6 +5230,10 @@ def run_inbox_queue(server,
lists_enabled = get_config_param(base_dir, "listsEnabled") lists_enabled = get_config_param(base_dir, "listsEnabled")
content_license_url = get_config_param(base_dir, "contentLicenseUrl") 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 posts addressed to specific accounts
for handle, _ in recipients_dict.items(): for handle, _ in recipients_dict.items():
destination = \ destination = \