appengine-ruby
appengine-ruby copied to clipboard
How to set the value of timeout?
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.
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