Mercurial > kallithea
comparison development.ini @ 8265:ecd3cf91b293
celery: drop config settings not supported in Celery 4
CELERY_SEND_TASK_ERROR_EMAILS has been removed, according to
https://docs.celeryproject.org/en/3.0/whatsnew-4.0.html#features-removed-for-simplicity :
"Tasks no longer sends error emails. This also removes support for
app.mail_admins, and any functionality related to sending emails."
The "ADMINS" prefix might be a left-over from the long removed
celery.conf.ADMINS - last seen on
https://docs.celeryproject.org/en/2.1-archived/reference/celery.conf.html#celery.conf.ADMINS .
The "ROUTES" prefix might refer to "CELERY_ROUTES" ... but it doesn't take a
simple string list anyway, so there is no point in treating it as a list value.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 20 Feb 2020 01:35:22 +0100 |
parents | 09a317dfa793 |
children | f8f50d3b6512 |
comparison
equal
deleted
inserted
replaced
8264:09a317dfa793 | 8265:ecd3cf91b293 |
---|---|
255 ## Example: use the message queue on the local virtual host 'kallitheavhost' as the RabbitMQ user 'kallithea': | 255 ## Example: use the message queue on the local virtual host 'kallitheavhost' as the RabbitMQ user 'kallithea': |
256 broker.url = amqp://kallithea:thepassword@localhost:5672/kallitheavhost | 256 broker.url = amqp://kallithea:thepassword@localhost:5672/kallitheavhost |
257 | 257 |
258 celery.result.backend = db+sqlite:///celery-results.db | 258 celery.result.backend = db+sqlite:///celery-results.db |
259 | 259 |
260 #celery.send.task.error.emails = true | |
261 #celery.amqp.task.result.expires = 18000 | 260 #celery.amqp.task.result.expires = 18000 |
262 | 261 |
263 celeryd.concurrency = 2 | 262 celeryd.concurrency = 2 |
264 celeryd.max.tasks.per.child = 1 | 263 celeryd.max.tasks.per.child = 1 |
265 | 264 |