My clojure noir app works 100% fine and does not work with RedisToGo.
The problem is when I deploy to Heroku (git push heroku master), I get a timeout error:
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
The full magazine is here: https://gist.github.com/1842439
When I remove this redis connection code, it deploys fine:
(:use [aleph.redis :only (redis-client)]) (def r (redis-client {:host redis-url :password redis-pass :port redis-port}))
The strange thing is that when I run "runk run lek runen" and paste the above aleph code, it connects to redis fine and I can read / write data.
So, this is something about how the hero downloads an application that breaks the connection with RedisToGo and drags it out.
source share