Actions
Bug #9926
opentwitter-mentions-as-comments cron jobs can run long
Status:
New
Priority name:
Normal
Assignee:
Category name:
WordPress Plugins
Target version:
Start date:
2018-06-13
Due date:
% Done:
0%
Estimated time:
Deployment actions:
Description
Just logged a long request triggered by a cron job in twitter-mentions-as-comments. It appears that the plugin does an hourly check that involves pulling up every single post on the site. This can take a very long time when a site has many posts. The plugin has no obvious internal mechanism for dividing this process into batches.
The plugin hasn't been updated in 5 years, so we might consider disabling it. Here are the sites where it's running:
[0] => http://connections.commons.gc.cuny.edu
[1] => http://jitp.commons.gc.cuny.edu
[0] => http://newtestsite.commons.gc.cuny.edu
[1] => http://eshtestcac.commons.gc.cuny.edu
[2] => http://arctest2.commons.gc.cuny.edu
[3] => http://acert.commons.gc.cuny.edu
[0] => http://jitpdev.commons.gc.cuny.edu
[1] => http://jitpstaging.commons.gc.cuny.edu
[2] => http://foodscholar.commons.gc.cuny.edu
I'll start by putting 15 minutes in to see if I can rewrite the plugin to use separate cron tasks for each post.
Related issues
Actions