Re: Clojure, Heroku and the dreaded R10 Boot Timeout Error

2013-02-14 Thread Phil Hagelberg
Leonardo Borges writes: > Could it be related to new relic? That's the only external service - > besides downloading jars - that the app tries to reach upon starting > up. If your app is downloading jars on startup that's a bad sign; all your dependencies should be downloaded during git push. If

Re: Clojure, Heroku and the dreaded R10 Boot Timeout Error

2013-02-13 Thread Timothy Licata
Hi Leonardo, On Wed, Feb 13, 2013 at 7:12 PM, Leonardo Borges wrote: > I should have mentioned I'm using lein2. Heroku performs AOT > compilation for you by default when that's the case. I had a feeling I was out of date. You have just saved me a configuration step, thank you. Tim -- -- You

Re: Clojure, Heroku and the dreaded R10 Boot Timeout Error

2013-02-13 Thread Dave Sann
Maybe this past post helps https://groups.google.com/d/topic/clojure/tU1LJOXiDc4/discussion D On Thursday, 14 February 2013 14:12:07 UTC+11, Leonardo Borges wrote: > > Hi Timothy, > > I should have mentioned I'm using lein2. Heroku performs AOT > compilation for you by default when that's the

Re: Clojure, Heroku and the dreaded R10 Boot Timeout Error

2013-02-13 Thread Leonardo Borges
Hi Timothy, I should have mentioned I'm using lein2. Heroku performs AOT compilation for you by default when that's the case. Cheers, Leonardo Borges www.leonardoborges.com On Thu, Feb 14, 2013 at 1:30 PM, Timothy Licata wrote: > Hi Leonardo, > > I ran into something similar a while ago. To

Re: Clojure, Heroku and the dreaded R10 Boot Timeout Error

2013-02-13 Thread Timothy Licata
Hi Leonardo, I ran into something similar a while ago. To get around it, I setup :aot compilation. heroku config:add LEIN_BUILD_TASK="compile :all" However, in order for config vars to work, I had to install the labs plugin and enable user_env_compile. heroku plugins:install http://git

Re: Clojure, Heroku and the dreaded R10 Boot Timeout Error

2013-02-13 Thread Leonardo Borges
Hi Michael, Will definitely reach support - just wanted to hear if someone else in the community had issues. The only external dependency I have is Redis - but doesn't doesn't get connected until after startup. Could it be related to new relic? That's the only external service - besides download

Re: Clojure, Heroku and the dreaded R10 Boot Timeout Error

2013-02-13 Thread Michael Gorsuch
Hi Leonardo, IIRC, this error comes about when an app takes too long to launch. If you are doing anything "interesting" during startup, perhaps you can shave some time off of it to increase your chances of success. I highly recommend that you reach out to support and let them know about what

Clojure, Heroku and the dreaded R10 Boot Timeout Error

2013-02-13 Thread Leonardo Borges
Hi all, This one goes to people using heroku for their production Clojure apps. Heroku says that Dynos will be restarted at least once every day - that doesn't seem like a big issue, however this morning I noticed my web dyno has crashed with the aforementioned error (R10). I tried restarting it