diff options
| author | 2023-08-09 20:04:57 +0200 | |
|---|---|---|
| committer | 2023-08-09 20:04:57 +0200 | |
| commit | fff4ff426126ff37b39b588ed05936b5be77f849 (patch) | |
| tree | 25cff1c02ab3afe5c92ec6ce1f6435c0bf9d0f37 /activitypub.c | |
| parent | Be more strict in not retrying on permanent errors. (diff) | |
| download | snac2-fff4ff426126ff37b39b588ed05936b5be77f849.tar.gz snac2-fff4ff426126ff37b39b588ed05936b5be77f849.tar.xz snac2-fff4ff426126ff37b39b588ed05936b5be77f849.zip | |
More strict retries.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 6c8c484..d6110cc 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1851,7 +1851,7 @@ void process_queue_item(xs_dict *q_item) | |||
| 1851 | retries++; | 1851 | retries++; |
| 1852 | 1852 | ||
| 1853 | /* error sending; requeue? */ | 1853 | /* error sending; requeue? */ |
| 1854 | if (status == 404 || status == 410) | 1854 | if (status == 404 || status == 410 || status < 0) |
| 1855 | /* explicit error: discard */ | 1855 | /* explicit error: discard */ |
| 1856 | srv_log(xs_fmt("output message: fatal error %s %d", inbox, status)); | 1856 | srv_log(xs_fmt("output message: fatal error %s %d", inbox, status)); |
| 1857 | else | 1857 | else |