First time here? Check out the FAQ!
2

What is the default Celery broker?

Hi

I see that Celery is used to handle slow tasks, but BROKER_URL doesn't seem to be set in settings.py. Does anyone know what is the default broker? There's a variable called DOMAIN_NAME in settings.py, but what is its purpose? Is it related to Celery?

Thanks

kate_r's avatar
107
kate_r
asked 2013-06-13 13:53:31 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

This setting is to set up custom message broker (medium to transfer messages between the application and the celery daemon).

For the beginner site it might be best to stick with the default - just change CELERY_ALWAYS_EAGER to False and run in the background:

python manage.py celeryd

The default setup will use database as the message broker. It is not the fastest or most scalable, but this will take you long way and reduce necessity of setting up additional services.

Evgeny's avatar
13.2k
Evgeny
answered 2013-06-13 23:01:59 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments