What do you mean by "server goes down", the web server running WP or the database?
If the former, maybe you need to set up some background task runner to send out activities? Sending out activities should not interact with the web server.
What do you mean by "server goes down", the web server running WP or the database?
If the former, maybe you need to set up some background task runner to send out activities? Sending out activities should not interact with the web server.
@Raphael @pfefferle On second thought, maybe begin with triggering wp cron using wget/curl as described in the wordpress.org article.
When running wp cron in wp cli you have to make sure that wp cli have access to the same object cache, file system since it's running as its own process.
@aslakr @Raphael but even with the WordPress internal cron, it should not kill the site. it might be the signature verification process of the remote site, that ddoses the blog, but I run my blog on shared hosting and never experienced such a behavior on publishing!
@raphael @deadsuperhero @pfefferle If possible, I suspect running wp cron in a real cron using wp cli https://developer.wordpress.org/cli/commands/cron/event/ might help, i.e. similar to https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/ except using wp cli in a cron job.
@pfefferle @Raphael If I understand https://github.com/Automattic/wordpress-activitypub/pull/1262 correctly, messages are now send in batches of 100? This should normally not overwhelm the site, maybe unless a lot of them are slow/dysfunctional?
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.