Fork me on GitHub

ha I was right, the job in queue never finish for some reason. Now I have to figure out why. queue-warehouse finish jobs and wait for new jobs, so this is not deadlock. But I have to figure out why the hell queue job freeze during the process.


How would you solve this? How to figure out on which line the app freeze during the process… I can add debugs everywhere, but it can take a lot of time to guess.


Is there an actual difference between pipeline and pipeline-blocking? In the source, both functions call out to pipeline* - the first passes :compute as the "type" argument, and the second passes :blocking But it looks like both of those conditions fall into the same case

Alex Miller (Clojure team)19:02:53

conceptually, use pipeline for cpu-only tasks, use pipeline-blocking if your task has i/o or other blocking ops

Alex Miller (Clojure team)19:02:09

and then we won't break you if we change the executor implementation in the future


Fair enough, thank you!

Alex Miller (Clojure team)19:02:51

pipeline could potentially used its own fixed size pool in the future