lein REPL server launch timed out

后端 未结 3 1208
生来不讨喜
生来不讨喜 2021-02-18 21:54

in a liberator based clojure project we are using datomic as DB. After migrating our local dev DB to a S3 hosted one and adding the needed dependencies on our project.clj we can

3条回答
  •  庸人自扰
    2021-02-18 22:17

    The reason was the multiple redefinition and evaluation of the Datomic connection among several files

    (def conn (d/connect DATOMIC_URI))
    

    The solution to this topic has been already discussed at How to deal with a variable in a library that needs to be set outside of it?

提交回复
热议问题