Activity/Fediverse Caching Issue
Describe the bug
The cron job to post ActivityPub activities runs but the Activities do not appear on the Activity tab of the homepage nor on Federated sites. This is intermittent. There are also times when multiple activities suddenly appear on the Activity tab and Fediverse, along with the appropriate timestamps of when they were originally created.
Steps to reproduce
- Set up hosting with Dreamhost or another shared web host
- Install Castopod as normal
Modify a line in the HTACCESS file to correct errors
RewriteRule ^([\s\S]*)$ index.php?/$1 [L,NC,QSA]
- Import or create a podcast
- Set up the Cron job using the web host's Cron UI, mine runs every 5 minutes. (see screenshot)
Expected behavior
The Activity tab and Fediverse should display posts/activities as soon as the Cron job runs, be it every minute or every 5 minutes.
Actual behavior
The activities post almost at random. They seem to queue or cache for quite some time before posting.
Relevant logs and/or screenshots
Context
- Castopod: 1.0.0-alpha.78
- OS: Ubuntu
- Browser: Multiple browsers
- Web server: Apache, PHP 8.0, MYSQL
Possible fixes
I'm not sure what the fix would be here. I don't do much with code. I have worked extensively with Castopod team members and my webhost's support team. My web host can't find anything on their side preventing the job.