diff options
author | default <nobody@localhost> | 2023-02-06 20:07:29 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-02-06 20:07:29 +0100 |
commit | b2d186cd0fc5451dcc336c3efc23450ce918656a (patch) | |
tree | 10008c9889c7c1f6cffa12f40b7e78f662308b32 /activitypub.c | |
parent | b16ceafdde7fc010c5f0effb3b4a5da9f5367f5f (diff) |
The pool of threads now process q_items.
Also, the purge is commanded as a q_item.
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 8 |
1 files changed, 8 insertions, 0 deletions
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")); + } } |