• Hi,
    I installed this plugin and used the Euro 2020 fixtures provided to run a competition. Up until tonight everything was working fine. All of a sudden I have added the result from the Netherlands match and after 1min and 3secs I get a gateway timeout error when the system starts to recalculate the scores for all of the players.

    The option to force recalculation in the help section is greyed out so this is not an option. Please help.

    Thanks,
    Scott

Viewing 1 replies (of 1 total)
  • Plugin Author AntoineH

    (@antoineh)

    My advice would be to contact your hosting company. Maybe they can help resolving this problem because it sounds like your database is not able to complete some calculation steps in time. With some extra resources or optimizations you should be able to complete the calculation.

    One other option is to play a bit with the calculation steps. Default settings can be overwritten in the wp-config file. Below the defaults, but when you lower the numbers, an individual step will be shorter, with the downside that the total calculation takes longer (because you create more traffic back and forth to the server).

    define( 'FOOTBALLPOOL_CALC_STEPSIZE_MATCH', 400 );
    define( 'FOOTBALLPOOL_CALC_STEPSIZE_QUESTION', 400 );
    define( 'FOOTBALLPOOL_CALC_STEPSIZE_SCORE', 400 );
    define( 'FOOTBALLPOOL_CALC_STEPSIZE_RANKING', 400 );

    If you are not able to start the calculation from the matches admin or plugin options, you can force it via the following in your wp-config:

    define( 'FOOTBALLPOOL_FORCE_CALCULATION', true );

Viewing 1 replies (of 1 total)

The topic ‘Gateway Timeout’ is closed to new replies.