# HG changeset patch # User Mads Kiilerich # Date 2020-02-13 13:46:50 # Node ID 09a317dfa793435ca8a1610b496f65313d3230fc # Parent f450318e5ff962d17d6201e32091a2c731aca6d6 celery: tweak the RabbitMQ example in generated config diff --git a/development.ini b/development.ini --- a/development.ini +++ b/development.ini @@ -252,8 +252,8 @@ ssh_enabled = false use_celery = false -## Example: connect to the virtual host 'rabbitmqhost' on localhost as rabbitmq: -broker.url = amqp://rabbitmq:qewqew@localhost:5672/rabbitmqhost +## Example: use the message queue on the local virtual host 'kallitheavhost' as the RabbitMQ user 'kallithea': +broker.url = amqp://kallithea:thepassword@localhost:5672/kallitheavhost celery.result.backend = db+sqlite:///celery-results.db diff --git a/kallithea/lib/paster_commands/template.ini.mako b/kallithea/lib/paster_commands/template.ini.mako --- a/kallithea/lib/paster_commands/template.ini.mako +++ b/kallithea/lib/paster_commands/template.ini.mako @@ -358,8 +358,8 @@ ssh_locale = ${ssh_locale} use_celery = false -<%text>## Example: connect to the virtual host 'rabbitmqhost' on localhost as rabbitmq: -broker.url = amqp://rabbitmq:qewqew@localhost:5672/rabbitmqhost +<%text>## Example: use the message queue on the local virtual host 'kallitheavhost' as the RabbitMQ user 'kallithea': +broker.url = amqp://kallithea:thepassword@localhost:5672/kallitheavhost celery.result.backend = db+sqlite:///celery-results.db