zstd.Error: Bad threads count - more than 200: 240 #92
Closed
Description
It seems like zstd.compress(data, level)
will fail on a system that has too many cores. My system has 2 64-core CPUs and with 2 threads per, that's 256 virtual cores.
This is especially annoying since the usage of zstd is buried deep in another library so I can't easily pass a threads flag. And ZSTD_NBTHREADS
isn't seeming to do anything.
This problem is also mentioned here: Chia-Network/chia-blockchain#14667