Following an ActivityPub Actor

Hey Rob, I’m sorry to hear you’re having issues. The ActivityPub plugin has a number of protections already to deal with heavy traffic loads, in particular these site settings:

  • activity_pub_rate_limit_post_to_inbox_per_minute: The default for this is 10. This means that, by default, 10 incoming POST requests per IP per minute are processed. Try lowering this.

  • activity_pub_rate_limit_get_objects_per_minute: The default for this is 30 per IP per minute. This means that, by default, 30 GET requests per IP per minute are processed. Try lowering this.

  • activity_pub_blocked_request_origins: This allows you to block all requests from domain(s) that may be causing you issues.

  • activity_pub_allowed_request_origins: This allows you to restrict requests to certain domains, meaning requests from all other sources are blocked.

If high traffic load is indeed the cause of your issue, the way to deal with it is using the protections listed above, unless you have control over the servers where the traffic is coming from.