WordPress.org

Ready to get started?Download WordPress

Forums

Simple History
Plugin / database overload? Blank page... (2 posts)

  1. leanderbraunschweig
    Member
    Posted 10 months ago #

    Hi there,

    first of all: GREAT plugin! Clean, lean & nice UI.

    Right now it seems the plugin has 'hit the wall' with our system – we have got a lot of traffic & user activity going on (probably even hit a million entries) and I maybe that resulted in a database-overload?

    I tried making use of the filter "simple_history_db_purge_days_interval" in order to reduce the load but it didn't have any effect – neither with the code below I put into functions.php (is it correct?) nor with the hard-coded value ($days = 15;) within the plugin's index.php.

    /*——————————————————————————————————————————————–*/
    /* Change Simple History Plugin's Purge Interval */
    /*——————————————————————————————————————————————–*/
    
    add_action('simple_history_db_purge_days_interval', function($days) {
        return 15;
    });

    At least there is the same value (60) showing in the admin panel where it says "will delete automatically after X days". It would update / show the changes here, right?

    Anyways, the screen stays blank when I visit the protocol page / want to see the log. Looks like a timeout judging from firebug but I am not sure.

    It even stays blank after resetting/emptying the database.

    Looking forward to some guidance here...
    Thanks & regards,

    Henning

    http://wordpress.org/plugins/simple-history/

  2. leanderbraunschweig
    Member
    Posted 10 months ago #

    FYI: Deleting & re-installing worked. But since this could easily happen again I am wondering about how to best cap the number of database-entries.

    The interval-changes do not reflect within the admin panel – couldn't you grab the value dynamically?

Reply

You must log in to post.

About this Plugin

About this Topic