rabbitmq queues filling up with celery tasks
问题 I am using Celery to call multiple hardware units by their ip address. Each unit will return a list of values. Application code below # create a list of tasks modbus_calls = [] for site in sites: call = call_plc.apply_async((site.name, site.address), expires=120) # expires after 2 minutes? modbus_calls.append(call) # below checks all tasks are complete (values returned), then move forward out of the while loop ready_list = [False] while not all(ready_list): ready_list = [] for task in modbus