appengine-ruby icon indicating copy to clipboard operation
appengine-ruby copied to clipboard

How to set the value of timeout?

Open kblicharski opened this issue 6 years ago • 1 comments

Could not find this documented anywhere other than when creating a build configuration file, which I am not interested in.

I'm trying to run the following command: bundle exec rake appengine:exec -- bundle exec rake db:seed

Although it only takes under two minutes when I seed my local database, it is apparently taking much longer on the server. Any help would be appreciated.

kblicharski avatar May 01 '19 09:05 kblicharski

Hi, sorry for the delay. You can set the value of the timeout by setting the environment variable GAE_TIMEOUT. Its value should be of the form 1h23m45s where all the fields are optional. The default is 10m. So for example:

bundle exec rake appengine:exec GAE_TIMEOUT=30m -- bundle exec rake db:seed

dazuma avatar Jul 09 '19 00:07 dazuma