Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix changelog entry for dramatiq_queue_prefetch #674

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LincolnPuzey
Copy link

I believe dramatiq_queue_prefetch is per worker process, not per thread.

As per the source code

#: The number of messages to prefetch from the queue for each worker.

And this comment #392 (comment)

This matches my testing where, when running with 2 threads, I needed to set dramatiq_queue_prefetch=2 to make each thread process a message, but not to pre-fetch any extra ones.

dramatiq_queue_prefetch is per worker process, not thread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant