TheIdentitySelector / thiss-mdq

Minimal JSON-only MDQ with search
Other
2 stars 5 forks source link

Excessive resource usage in some scenarios #94

Closed dnmvisser closed 1 week ago

dnmvisser commented 1 week ago

When running the container on platforms that report a lot of CPUs, a lot of workers are spun up. Basically one for each CPU. In scenarios where the container runs only to test functionality/features, this will waste resources and make things start up slower. For example on an M3 macbook, the container will spin up 12 workers, while 1 or 2 would be sufficient.

dnmvisser commented 1 week ago

fixed in https://github.com/TheIdentitySelector/thiss-mdq/pull/95, thx!