Support » Plugin: AWS for WordPress » Terrible, terrible, terrible coding kills site

  • Resolved smerriman

    (@smerriman)


    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.

    • This topic was modified 2 years, 4 months ago by smerriman.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor tstachlewski

    (@tstachlewski)

    Hi!
    Thanks for the feedback! We will fix this in next release!

    Plugin Contributor tstachlewski

    (@tstachlewski)

    Hi @smerriman
    Thanks for the valuable feedback, it helped us to improve the plugin! In the latest version of the plugin we have modified the logic which is responsible for calculating the total cost of bulk update, so it wouldn’t be so greedy – also there is a filter logic, so you can modify the bulk size.

    Cheers,
    Tomasz

    Hello,

    I am trying to add a new code to one of my pages.

    However, when I type in the code in text it doesn’t work.

    I update the page and it shows the actual code I pasted and not the image.

    Could someone please assist?

    Thank you.

    Plugin Contributor tstachlewski

    (@tstachlewski)

    Hi!
    Could you elaborate what do you mean by ‘add a new code to one of my pages’?

    Cheers,
    Tomasz

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Terrible, terrible, terrible coding kills site’ is closed to new replies.