Finally had some time to hack on pyramid_celery recently and made some
fairly major changes and thought I'd try to get some feedback on the
changes from the list before making a complete 2.0 release.
The biggest changes:
1. New [celery] and [celerybeat] configuration sections, this looks like:
[celery]
BROKER_URL = redis://localhost:1337/0
CELERY_IMPORTS = app1.tasks
app2.tasks
[celerybeat:task1]
task = app1.tasks.Task1
type = crontab
schedule = {"minute": 0}
2. You can opt in to using standard celeryconfig.py instead of ini for
configuration
3. Deprecated all pcelery* commands, so instead of:
pcelery ./development.ini worker
You do:
celery worker -A pyramid_celery.celery_app --ini development.ini
4. Now have access to the pyramid registry from all your tasks in
celery_app.conf['PYRAMID_REGISTRY']
This is a backwards incompatible release from the 1.x series but the
migration path is very minimal. Let me know if you have any
questions/feedback on the new APIs.
If you are using pyramid + celery without pyramid_celery its probably also
worth a look since the integration is much cleaner than it was in 1.x.
Thanks,
sontek
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.