Project

General

Profile

Actions

Bug #9926

open

twitter-mentions-as-comments cron jobs can run long

Added by Boone Gorges over 6 years ago. Updated about 6 years ago.

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

Related to CUNY Academic Commons - Feature #8987: Migrate away from wp-cronResolvedBoone Gorges2017-12-07

Actions
Actions

Also available in: Atom PDF