View of all forums extremely slow when plugin is enabled
-
Hi,
first thank you for the great plugin!
It seems to work fine but is it also testet with huge forum databases?
My forums have more than 100.000 posts. After activating the plugin the page of bbpress that shows all forums is extremely slow. It takes ten seconds to load.
When I modify your function has_user_read_all_forum_topics( $forum_id,$user_id=false ) with a “return true;” at the beginning to skip your code the forum page is loaded in less than two seconds. So there seems to be a bottleneck. I updated from 1.0.6 to recent version and the older version seemed to be a little bit more performant for me..It would be great if your plugin also could handle forums with many posts.
Otherwise a funktion or a filter to disable your plugin just for this page would be fine.I also do not understand line 504 and 505:
$transient_duration = $this->get_options('count_topics_transient_duration'); $transient_duration = null;
What is the sense of getting the duration first and then overwriting the value with null?
- The topic ‘View of all forums extremely slow when plugin is enabled’ is closed to new replies.