From b2d186cd0fc5451dcc336c3efc23450ce918656a Mon Sep 17 00:00:00 2001 From: default Date: Mon, 6 Feb 2023 20:07:29 +0100 Subject: The pool of threads now process q_items. Also, the purge is commanded as a q_item. --- activitypub.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index 42558f4..5aae251 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1188,6 +1188,14 @@ void process_queue_item(xs_dict *q_item) } } } + else + if (strcmp(type, "purge") == 0) { + srv_log(xs_dup("purge start")); + + purge_all(); + + srv_log(xs_dup("purge end")); + } } -- cgit v1.2.3