504 error


Home Forums Front End PM PRO 504 error

This topic is: Not Resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45814

    Hi,

    I have been using the plugin on my website and I am suffering constant website crashes

    The error it gives us is a 504. Is there any way to solve it so that it doesn’t make so many requests?

    the hosting tells us this

    <blockquote cite=”It seems it was mainly caused by a flood of traffic requests to the control3d.net website – 5520 HTTP requests during that time period. The most requested resource was:

    1604 — /wp-json/front-end-pm/v1/notification”>

    could you help us? We really like the plugin but we see that it is very heavy

    #45815
    Shamim Hasan
    Keymaster

    How many users do you have?
    This plugin makes a notification request to query new messages every 2 minutes by default. You can change this by using following code

    add_filter( 'fep_filter_ajax_notification_interval', function( $interval ){
        $interval = 5 * MINUTE_IN_SECONDS * 1000;
        return $interval;
    });
    

    After adding this code, it will make request every 5 minutes (you can change this to any number). Purge all cache and wait some time. Then check.

Viewing 2 posts - 1 through 2 (of 2 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.