Fork me on GitHub
#leiningen
<
2016-12-15
>
karol.adamiec11:12:12

how can i find out why lein is hanging on compilation? all worked fine, and at some point i just hangs forever? when doing lein uberjar|check|compile killall java -9 is not helping ;/ wow, not hanging, actually it got like 5x slower than normal ? with no CPU hogging, so it is waiting...

karol.adamiec11:12:53

nevermind. turns out making a datomic connection outside of a function is a bad idea….

danielcompton20:12:24

@karol.adamiec you ideally wouldn't have any side effects from evaluating namespaces, only defining functions and static vars

danielcompton20:12:31

As this kind of stuff happens 🙂