ztellman/aleph — Issue #53: Heroku timesout when connecting to RedisToGo with Aleph
Author: dmix
Created: 2012-02-16 17:45:11+00:00
State: open

I'm trying to deploy a clojure Noir app to heroku, but the deployment fails because the app timesout and never properly starts

When I remove the Aleph redis code, it deploys fine. Also, oddly, when I connect to the heroku server and use a REPL, paste in the same aleph connection code, I can access redis no problem.

```clojure
(def r (redis-client {:host redis-url :password redis-pass :port redis-port}))
```

So since the problem is at bootup, is there a way to load the redis connection differently or at a later time? For example, on the first, request connect to redis if it hasn't yet?

The code for my app is here: https://github.com/dmix/documeds