PHP Timeouts, Retries and Limits
BONUS: We have discussed this topic with an expert in the PHP community in our podcast:
We have blogged about timeouts, retries and limits before in these three blog posts:
- What is the best value for max_execution_time in PHP? discusses the argument for decreasing the max execution time INI setting to lower than the default 30 seconds.
- Using HTTP Client timeouts in PHP show the various ways to set timeouts for outgoing HTTP connections in PHP.
- Use timeouts to prevent long running select queries show a more recent MySQL feature that allows failing queries after a timeout has been reached.
We discussed all these topics with Bastian Hoffmann from our partner SysEleven in this podcast episode.