core-async

2020-01-08T05:08:00.194600Z

You are starting a new pipeline async every loop iteration which is almost certainly not what you want

2020-01-08T05:08:43.195500Z

And I bet the implementation of fetch-url-async-fn is bad

2020-01-08T05:10:56.198Z

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

2020-01-08T05:14:04.199500Z

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

2020-01-08T05:14:50.200800Z

(the other thing is a wild guess since the source for fetch-url-async is not included)

ag 2020-01-08T05:18:49.201900Z

I found the issue. I just needed to call the function outside of the block. I’m stupid