Bogdanp / django_dramatiq

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

rundramatiq: align default thread count with dramatiq #116

Closed Ecno92 closed 2 years ago

Ecno92 commented 2 years ago

The default amount of threads is 8 in dramatiq. However in this project it was using the CPU count. This change sets the thread count by default to 8

Closes: #115

Also updated the Changelog, but did not update the version or anything like that. I recommend to do a minor release as deployements might be in trouble in case they start running at a different thread count after upgrading.

Ecno92 commented 2 years ago

Closing after discussion in https://github.com/Bogdanp/django_dramatiq/issues/115