Download 3.0 PDF - Read the Docs

Transcript
Celery Documentation, Release 3.0.25
$ python manage.py shell
>>> from djcelery.models import PeriodicTask
>>> PeriodicTask.objects.update(last_run_at=None)
You also have to do this if you change the timezone or CELERY_ENABLE_UTC setting.
• Note about the CELERY_ENABLE_UTC setting.
If you previously disabled this just to force periodic tasks to work with your timezone, then you are
now encouraged to re-enable it.
• Now depends on Kombu 2.4.5 which fixes PyPy + Jython installation.
• Fixed bug with timezones when CELERY_ENABLE_UTC is disabled (Issue #952).
• Fixed a typo in the celerybeat upgrade mechanism (Issue #951).
• Make sure the exc_info argument to logging is resolved (Issue #899).
• Fixed problem with Python 3.2 and thread join timeout overflow (Issue #796).
• A test case was occasionally broken for Python 2.5.
• Unit test suite now passes for PyPy 1.9.
• App instances now supports the with statement.
This calls the new close() method at exit, which cleans up after the app like closing pool connections.
Note that this is only necessary when dynamically creating apps, e.g. for “temporary” apps.
• Support for piping a subtask to a chain.
For example:
pipe = sometask.s() | othertask.s()
new_pipe = mytask.s() | pipe
Contributed by Steve Morin.
• Fixed problem with group results on non-pickle serializers.
Fix contributed by Steeve Morin.
2.12.18 3.0.8
release-date 2012-08-29 05:00 P.M BST
• Now depends on Kombu 2.4.4
• Fixed problem with amqplib and receiving larger message payloads (Issue #922).
The problem would manifest itself as either the worker hanging, or occasionally a Framing
error exception appearing.
Users of the new pyamqp:// transport must upgrade to amqp 0.9.3.
• Beat: Fixed another timezone bug with interval and crontab schedules (Issue #943).
• Beat: The schedule file is now automatically cleared if the timezone is changed.
The schedule is also cleared when you upgrade to 3.0.8 from an earlier version, this to register the
initial timezone info.
• Events: The worker-heartbeat event now include processed and active count fields.
2.12. Change history
221