Shutting down core.async executors threadpool

2014-02-24 Thread Jan Herich
Hi Folks, I developed an pedestal application which uses core.async for real-time server push. Everything works fine, except little problem when i run the application as the Servlet in Tomcat (7.0.52). The problem is, that if i shutdown the tomcat instance with shutdown script (default bin/shu

Re: Shutting down core.async executors threadpool

2014-02-24 Thread Jozef Wagner
All threads in default core.async threadpool should be daemon, so they should not block when JVM is about to exit. Maybe it is a tomcat issue. On Mon, Feb 24, 2014 at 7:06 PM, Jan Herich wrote: > Hi Folks, > > I developed an pedestal application which uses core.async for real-time > server push

Re: Shutting down core.async executors threadpool

2014-02-24 Thread Jan Herich
Thank you much for the hint Jozef, you pointed mi in the right direction. As you wrote, all core.async thread are daemon threads, but i was using another clojure library (pedestal) which uses executors threadpool for SSE heartbeat functionality, and this was indeed the problem. I already submitt