diff options
author | default <nobody@localhost> | 2023-02-22 08:39:54 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-02-22 08:39:54 +0100 |
commit | 2bfebba7be63518f337663ec9a81a4be0de835f7 (patch) | |
tree | a637980ea3d963f75aa8decc48b34d732ccc64a1 /snac.h | |
parent | 372aa42125b2a4621d4b99e492360e553b5cc481 (diff) |
Don't wait for 3 seconds if there were some q_items processed.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -190,9 +190,9 @@ d_char *get_actor_inbox(snac *snac, char *actor); int send_to_actor(snac *snac, char *actor, char *msg, d_char **payload, int *p_size, int timeout); int is_msg_public(snac *snac, char *msg); -void process_user_queue(snac *snac); +int process_user_queue(snac *snac); void process_queue_item(xs_dict *q_item); -void process_queue(void); +int process_queue(void); int activitypub_get_handler(d_char *req, char *q_path, char **body, int *b_size, char **ctype); |