• Resolved tosturaw

    (@tosturaw)


    Hi there

    I want to point out something that I found in the “BadgeOS Leaderboards Add-On” plugin.

    I have Learndash installed on a WPEngine build and whenever I try to assign users to Learndash group or filter inside users which loads results with AJAX requests, it took almost around 6-8 seconds.

    In digging deep with analytics tool, I found that BadgeOS Leaderboards Add-On plugin was making around 300 requests on every page load.

    The odd thing I found out was the plugin is rebuilding leaderboards on “admin_init” hook, which is executed every time AJAX hits the admin function.

    Can you please look into that or provide a fix in your next release?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tosturaw

    (@tosturaw)

    PS: This is the culprit function:
    add_action( 'admin_init', 'badgeos_leaderboard_trigger_rebuild' );
    in BadgeOS-Leaderboard-Add-on-1.1.9/includes/ranking-engine.php : Line 589

    Please correct me if I am wrong.

    Plugin Author learningtimes

    (@learningtimes)

    Hi @tosturaw ,

    Thanks for reaching out to us.

    We already have received a bug report for this performance issue. The fix of this issue will be available in the next update of the add-on.

    Thanks,
    BadgeOS Support Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘BadgeOS Leaderboards Add-On showing down AJAX requests on admin pages’ is closed to new replies.