Re: maven compilation of a clojure project hangs due to still running thread pools

2010-08-08 Thread Stuart Sierra
Short answer: never execute code at the top-level of your source files. Only define functions. If you have a shared constant that only needs to be evaluated once, consider using delay/force. -S On Aug 7, 4:46 am, Christian Schuhegger wrote: > Hi all, > > I just had a lengthy debugging session

Re: maven compilation of a clojure project hangs due to still running thread pools

2010-08-07 Thread Armando Blancas
> It seems to me that agents and functions like pmap should require > additional coding. Wait, don't commit! I meant should NOT require that... -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.

Re: maven compilation of a clojure project hangs due to still running thread pools

2010-08-07 Thread Armando Blancas
It seems to me that agents and functions like pmap should require additional coding. Given the problem you've encounter, maybe a cached thread pool isn't the best choice, especially if one proposal to deal with this situation is to lower the keep alive value to the point that this thing isn't much