lithops-cloud / lithops

A multi-cloud framework for big data analytics and embarrassingly parallel jobs, that provides an universal API for building parallel applications in the cloud ☁️🚀
http://lithops.cloud
Apache License 2.0
317 stars 105 forks source link

Multiprocessing cpu_count is broken #989

Closed gfinol closed 2 years ago

gfinol commented 2 years ago

The function cpu_count of the multiprocessing API is broken due to a change in the configuration YAML file.

It looks for max_workers configuration key under the lithops configuration (see this), but it has been moved under the compute backend configuration.

gfinol commented 2 years ago

I'll open a PR asap with the fix.