#ActivityPub question - is it OK to run pruning of dead inboxes (target nodes for delivery) after grace period of e.g. 7 days when transport failures occur repeatedly (timeout, SSL, DNS, redirect loop, unresolvable host), 400, 404, 410, all 5xx)?
-
#ActivityPub question - is it OK to run pruning of dead inboxes (target nodes for delivery) after grace period of e.g. 7 days when transport failures occur repeatedly (timeout, SSL, DNS, redirect loop, unresolvable host), 400, 404, 410, all 5xx)?
-
#ActivityPub question - is it OK to run pruning of dead inboxes (target nodes for delivery) after grace period of e.g. 7 days when transport failures occur repeatedly (timeout, SSL, DNS, redirect loop, unresolvable host), 400, 404, 410, all 5xx)?
@dusoft@fosstodon.org I don't think there is consensus on this particular point. Each implementation does their own handling.
e.g. Lemmy will queue messages for delivery forever (probably), but will place your instance on a "do not deliver" list for some time if delivery failures reach a certain threshold.
NodeBB's is more naive, it will try delivering per an exponential backoff forever, too.
-
@dusoft@fosstodon.org I don't think there is consensus on this particular point. Each implementation does their own handling.
e.g. Lemmy will queue messages for delivery forever (probably), but will place your instance on a "do not deliver" list for some time if delivery failures reach a certain threshold.
NodeBB's is more naive, it will try delivering per an exponential backoff forever, too.
@julian That's helpful, thanks. I have implemented pruning, because all requests in the end have some costs. Of course, I could handle it also in softer way, e.g. 7 day grace period, then no-delivery list, then retry after 30 days... Then further incremental backoff.
-
#ActivityPub question - is it OK to run pruning of dead inboxes (target nodes for delivery) after grace period of e.g. 7 days when transport failures occur repeatedly (timeout, SSL, DNS, redirect loop, unresolvable host), 400, 404, 410, all 5xx)?
@dusoft It is OK to prune but I think the period of 7 days is too short. The server admin might be on a vacation.
-
@dusoft It is OK to prune but I think the period of 7 days is too short. The server admin might be on a vacation.
@silverpill I think I'll make it configurable.
-
? [[global:guest]] crossposted this topic to General Discussion
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login