Bogdanp / django_dramatiq

A Django app that integrates with Dramatiq.
https://dramatiq.io
Other
332 stars 77 forks source link

`rundramatiq` thread count defaults to `CPU_COUNT` #153

Open james-takeone opened 11 months ago

james-takeone commented 11 months ago

If an explicit thread count is not supplied to rundramatiq, it defaults to CPU_COUNT. This is inconsistent with the dramatiq cli, which is 8. This seems like a sensible default, as the threads param is threads per process. Should the rundramatiq default be updated to 8 as well?