Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Increase execution time limit in Google App Engine

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?

like image 665
Vishnu Chid Avatar asked Oct 27 '25 20:10

Vishnu Chid


2 Answers

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.

like image 180
Rekby Avatar answered Oct 30 '25 12:10

Rekby


No for a frontend.

You'll probably need to run querecus in a backend.

like image 26
Stuart Langley Avatar answered Oct 30 '25 12:10

Stuart Langley