Ask Your Question
2

What is the default Celery broker?

asked 2013-06-13 13:53:31 -0600

kate_r gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-06-13 23:01:59 -0600

Evgeny gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-06-13 13:53:31 -0600

Seen: 149 times

Last updated: Jun 13 '13