Terrible, terrible, terrible coding kills site
-
On the settings page, there is a bulk update section.
In this section, after you have entered your API keys, the plugin attempts to display a message about how much it would cost you to convert all of the posts on your website in a function called
get_price_message_for_update_all
.This functions works by querying posts from the database, a single post a time, and counting the characters.
A single post at a time.
On my site I have 80000 posts. Every time I visit the settings page, it is generating 80000 queries.
This obviously puts huge pressure on my site and causes the settings page to completely hang.
Please don’t do this.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Terrible, terrible, terrible coding kills site’ is closed to new replies.