• Hey Thimo,

    sorry for bothering you again. But can you please not set the max_execution_time for the whole WordPress project?

    It is not recommended to set the max_execution_time (e.g. you used set_time_limit) directive in PHP to 0, as this can cause scripts to run indefinitely. This can lead to problems with the server, particularly with scripts that use a large amount of resources, such as loops that run indefinitely or queries that never end. It is therefore important to carefully limit the execution time of scripts in order to avoid server issues. It is more sensible to set an appropriate value for the max_execution_time directive that is tailored to the specific requirements of the script and the available server resources.

    More on this for example here: https://stackoverflow.com/a/4307071

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    Hi Flo,

    you’re right, this needs to be changed and is a remainder of previous versions which had a long runtime because of specific requirements of the API.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Do not set max_execution_time for the whole WordPress instance’ is closed to new replies.