We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
As I understand it. prefetch set to 1 and acks_late set to true should take on a task, do it, acknowledge and start again.
prefetch
1
acks_late
true
As of my case. prefetch doesn't limit the tasks consumed. It just takes on what ever it can take
To Reproduce Steps to reproduce the behavior:
Use the prefetch and acks_late option on the consumer.
i.e.
let my_app = celery::app!( broker = AMQPBroker { &environment.amqp_addr }, tasks = [training_tasks::train_environments], task_routes = [], acks_late=true, prefetch_count=1, ) .await .expect("Could not connect to celery rabbitmq broker"); #[cfg(debug_assertions)] my_app.display_pretty().await; my_app .consume() .await .expect("Failed to consume from broker");
Expected behavior
Screenshots If applicable, add screenshots to help explain your problem.
System (please complete the following information):
celery = "0.4.0-rcn.11"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
As I understand it.
prefetch
set to1
andacks_late
set totrue
should take on a task, do it, acknowledge and start again.As of my case. prefetch doesn't limit the tasks consumed. It just takes on what ever it can take
To Reproduce
Steps to reproduce the behavior:
Use the
prefetch
andacks_late
option on the consumer.i.e.
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
The text was updated successfully, but these errors were encountered: