貌似这个set_time_limit函数也不一样,需要用其他的替代的么?
因为有一个处理时间较长的页面。需要set_time_limit(40)
然后执行后就会报错,然后退出进程
PHP Fatal error: Maximum execution time of 45 seconds exceeded in E:\nodejs\mybook\worker\vendor\workerman\workerman\Events\Select.php on line 277
Fatal error: Maximum execution time of 45 seconds exceeded in E:\nodejs\mybook\worker\vendor\workerman\workerman\Events\Select.php on line 277
Worker process terminated with ERROR: E_ERROR "Maximum execution time of 45 seconds exceeded in E:\nodejs\mybook\worker\vendor\workerman\workerman\Events\Select.php on line 277"
workerman里不能用set_time_limit,使用set_time_limit实际上是限制了workerman的执行时间。没有替代函数
好的, 谢谢,可以加到手册里 o(∩_∩)o