Hi all, This is an issue similar to the one raised here: https://github.com/nim-lang/Nim/issues/10584 . Namely, setting the max pool size with setMaxPoolSize() doesn't seem to actually restrict the number of threads started upon the first iteration. It will eventually converge on the correct number of threads, but for at least the first set of threads spawned it seems to spawn threads equal to the number of CPUs. Has anyone else run in to this problem, and if so do you have a work around?
I tried to hack a fix by spawning a bunch of threads that do basically nothing to get it to reduce the number of threads to the number specified by setMaxPoolSize() before I launched my more intensive threads, but that didn't seem to work. Would appreciate any help anyone can provide.