问题描述
我正在使用querecus在Google App Engine中使用PHP。
我试过了
ini_set('max_execution_time',3000);
我试图通过PHP禁用执行时间限制,但都失败了。
我在应用程序引擎上收到服务器错误,因此,有没有其他方法可以禁用GAE中的超时?
/任务处理程序。
您也可以使用后端(编辑:backend现在是一个弃用选项)
后端服务器没有执行查询的时间限制。
I am using querecus to use PHP in Google App Engine. I get timeout error when using it since it has lots of files to process.
I tried
ini_set('max_execution_time', 3000);
and I tried to disable the execution time limit via PHP, but all failed.
I get server error on app engine due to this, is there any alternative way to disable timeout in GAE?
Execution time of script limited by GAE environment, you can't change it.
It limit 60 seconds for frontend request, 600 seconds for cron/task handlers.
Also you can use backend, https://developers.google.com/appengine/docs/java/config/backends (edit: backend is a deprecated option now)
Backend server have no limit time for execution query.
这篇关于增加Google App Engine中的执行时间限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!