Make cron optional
-
Hi,
the plugin works smoothly, however, the
yourls_click_cron
that runs every hour is something that could have a huge server overhead for sites with many posts.More in detail, it takes all of the articles with a short link and per each article call the Yourls site to check the
get_single_click_count
and then updates the_yourls_clicks
post_meta value back. While this could work for small sites imagine this running every hour for a site with more than 10000 posts (magazines, newspapers and alike).Also, since we could check each URL clicks on the Yourls site, I doubt that having this value saved in the database is of any use at all except the edge case when someone wants to order articles by Yourls clicks. But even in this case, I won’t probably do it every hour.
Anyway, in our setup we had to comment out the
yourls_cron
but for the future would be nice to exclude it via plugin settings.
- The topic ‘Make cron optional’ is closed to new replies.