Heroku App Download Timeout

I have a rather large 2.3th version, upgraded to the Rails 3 application, which is rich enough not to pass through the 60-second start door to Heroku, and therefore it is crashing. I did a ton of work to minimize load times in Gems and initializers, but there is a random process that is burning, and I'm not quite sure what it is. I could use a different set of eyes.

Here is a GIST with config.ru, application.rb and environment.rb and Gemfile.

https://gist.github.com/2026140

Any thoughts would be greatly appreciated.

+5
source share
3 answers

, , , : 1) 2) ( ).

, dev, Kernel # require, , . . , : require = > false , .

-, Mongoid, . ( 10 ).

+7

- Heroku . , .

, , ( , , ).

gem_bench , , , .

250 , : require = > false 60 .

https://github.com/acquaintable/gem_bench

: . , : 60- - .

+5

heroku-forward gem helps you overcome Heroku's 60s timeout.

+3
source

All Articles