• Resolved dalemiles

    (@dalemiles)


    How often are the calls to the admin-ajax.php?

    I’m assuming this is what’s used to consistently check for updates in the background to notify users when the have a new message?

    I’m trying to work out what is causing an insanely high number of account executions on my site. It’s not a particularly busy site 200-300 visitors a day but 80% are returning, logged in users and im trying to nail down what is causing the huge spike in calls to my admin-ajax.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    If you uncheck “Hide site wide notification in header?” then there will be no automatic call.

    By default call interval in 60 sec. You can use fep_filter_ajax_notification_interval filter hook to change this interval

    Thread Starter dalemiles

    (@dalemiles)

    Great! Thanks, I thought it was this causing all the account executions, I couldn’t think what else it could be.

    I’m going to trial automatic checking to once ever 10 minutes.
    I want the site wide notification header as it’s good when they arrive on the site and see the header if they have a new message.

    Changing the code to:

    'interval' => apply_filters( 'fep_filter_ajax_notification_interval', 6000000 )

    Should make it 10 minutes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘admin-ajax.php’ is closed to new replies.