My Clojure Compojure application exceeds the boot time limit for binding to a port on Heroku 50% of the time. Then it takes one or two calls to heroku restart
to get it going. It is possible I am requiring too many dependencies, but I don't know if I can do this dynamically.
Is there a way to bind faster in Clojure by loading dependencies later? The generally accepted solution in Ruby land is heroku-forward, but this does not work for Clojure.
This issue is related to Heroku Boot Timeout (Error R10).
CircleCI handles my deployment and the uberjar is built up-front.