Maximum execution time error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #105990
    erikdemarco
    Participant

    This will stop generating xml feed if for some reason the server is busy and trigger “maximum execution time” error. Because when this error occur, this plugin doesnt reached “wp_schedule_event” yet. So it will just stop making feed until next cycle. Please fix this, by catch error while “maximum execution time” error gets triggered and do “wp_schedule_event” there.

    • This topic was modified 1 year, 5 months ago by WPWhale.
    #105991
    erikdemarco
    Participant

    The only way is to set set_time_limit to 0. Which make server busy for long time. And if there is some error in you infinite loop while(true) it will run forever. which will reduce server resources.

    #105992
    WPWhale
    Moderator

    Hi Erik,

    Do you have staging site with a large number of products and can reproduce this issue? It would be easier & faster to do & test this there.

    Please contact us at [email protected]

    Omar

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.