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
> 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.
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