Created
April 21, 2021 09:00
-
-
Save anandtripathi5/91ad1851161039119edf34acb50d103b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
broker_url = "{}://{}:{}@{}:{}/{}".format( | |
broker_protocol, | |
broker_username, | |
broker_password, | |
broker_host, | |
broker_port, | |
broker_vhost) | |
worker_send_task_event = False | |
task_ignore_result = True | |
# task will be killed after 60 seconds | |
task_time_limit = 60 | |
# task will raise exception SoftTimeLimitExceeded after 50 seconds | |
task_soft_time_limit = 50 | |
# task messages will be acknowledged after the task has been executed, not just before (the default behavior). | |
task_acks_late = True | |
# One worker taks 10 tasks from queue at a time and will increase the performance | |
worker_prefetch_multiplier = 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment