0

I am trying to create a bunch of celery tasks asynchronously on the fly. Say there are 1000 tasks I start asynchronously and I have only one celeryd process running to execute tasks. How many threads will be created by celery to handle these tasks?

If there are multiple threads that celery starts automatically to process the task queue, how do I limit celery to execute only 100 threads at a given point of time.

Thanks.

1 Answers1

0

Its starts as many as you specify with the CELERYD_OPTS concurrency parameter. Which is also discussed here.

RickyA
  • 15,465
  • 5
  • 71
  • 95