diff options
| author | 2024-01-26 18:46:59 +0100 | |
|---|---|---|
| committer | 2024-01-26 18:46:59 +0100 | |
| commit | 6e8e943b1439eafbc9434f3949c5d8073b32cf97 (patch) | |
| tree | bfb7693bd6711a4600293381cb85b834cf8800ac | |
| parent | Updated README. (diff) | |
| download | snac2-6e8e943b1439eafbc9434f3949c5d8073b32cf97.tar.gz snac2-6e8e943b1439eafbc9434f3949c5d8073b32cf97.tar.xz snac2-6e8e943b1439eafbc9434f3949c5d8073b32cf97.zip | |
Some tweaks to retry timeouts.
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index e680e33..698758c 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -2220,7 +2220,7 @@ void process_queue_item(xs_dict *q_item) | |||
| 2220 | 2220 | ||
| 2221 | /* deliver (if previous error status was a timeout, try now longer) */ | 2221 | /* deliver (if previous error status was a timeout, try now longer) */ |
| 2222 | status = send_to_inbox_raw(keyid, seckey, inbox, msg, | 2222 | status = send_to_inbox_raw(keyid, seckey, inbox, msg, |
| 2223 | &payload, &p_size, p_status == 599 ? 20 : 3); | 2223 | &payload, &p_size, p_status == 599 ? 8 : 6); |
| 2224 | 2224 | ||
| 2225 | if (payload) { | 2225 | if (payload) { |
| 2226 | if (p_size > 64) { | 2226 | if (p_size > 64) { |