can someone help? https://clojureverse.org/t/why-core-async-channel-behaves-differently-in-different-context/5333
You are starting a new pipeline async every loop iteration which is almost certainly not what you want
And I bet the implementation of fetch-url-async-fn is bad
My guess is your fetch-url-async-fn is doing some blocking operations on the async threadpool, which is clogging it up when you spin new pipelines up on every loop iteration
The solution to the loop thing is to move the let of the result of calling foo out of the loop so you only call foo once
(the other thing is a wild guess since the source for fetch-url-async is not included)
I found the issue. I just needed to call the function outside of the block. I’m stupid