Changelog 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733
  1. ==============
  2. Change history
  3. ==============
  4. 0.8.2 [2009-11-20 03:40 P.M CEST]
  5. ---------------------------------
  6. * QOS Prefetch count was not applied properly, as it was set for every message
  7. received (which apparently behaves like, "receive one more"), instead of only
  8. set when our wanted value cahnged.
  9. 0.8.1 [2009-11-16 05:21 P.M CEST]
  10. ---------------------------------
  11. **VERY IMPORTANT NOTE**
  12. This release (with carrot 0.8.0) enables AMQP QoS (quality of service), which
  13. means the workers will only receive as many messages as it can handle at a
  14. time. As with any release, you should test this version upgrade on your
  15. development servers before rolling it out to production!
  16. **IMPORTANT CHANGES**
  17. * If you're using Python < 2.6 and you use the multiprocessing backport, then
  18. multiprocessing version 2.6.2.1 is required.
  19. * All AMQP_* settings has been renamed to BROKER_*, and in addition
  20. AMQP_SERVER has been renamed to BROKER_HOST, so before where you had::
  21. AMQP_SERVER = "localhost"
  22. AMQP_PORT = 5678
  23. AMQP_USER = "myuser"
  24. AMQP_PASSWORD = "mypassword"
  25. AMQP_VHOST = "celery"
  26. You need to change that to::
  27. BROKER_HOST = "localhost"
  28. BROKER_PORT = 5678
  29. BROKER_USER = "myuser"
  30. BROKER_PASSWORD = "mypassword"
  31. BROKER_VHOST = "celery"
  32. * Custom carrot backends now need to include the backend class name, so before
  33. where you had::
  34. CARROT_BACKEND = "mycustom.backend.module"
  35. you need to change it to::
  36. CARROT_BACKEND = "mycustom.backend.module.Backend"
  37. where ``Backend`` is the class name. This is probably ``"Backend"``, as
  38. that was the previously implied name.
  39. * New version requirement for carrot: 0.8.0
  40. **CHANGES**
  41. * Incorporated the multiprocessing backport patch that fixes the
  42. ``processName`` error.
  43. * Ignore the result of PeriodicTask's by default.
  44. * Added a Redis result store backend
  45. * Allow /etc/default/celeryd to define additional options for the celeryd init
  46. script.
  47. * MongoDB periodic tasks issue when using different time than UTC fixed.
  48. * Windows specific: Negate test for available os.fork (thanks miracle2k)
  49. * Now tried to handle broken PID files.
  50. * Added a Django test runner to contrib that sets CELERY_ALWAYS_EAGER = True for testing with the database backend
  51. * Added a CELERY_CACHE_BACKEND setting for using something other than the django-global cache backend.
  52. * Use custom implementation of functools.partial (curry) for Python 2.4 support
  53. (Probably still problems with running on 2.4, but it will eventually be
  54. supported)
  55. * Prepare exception to pickle when saving RETRY status for all backends.
  56. * SQLite no concurrency limit should only be effective if the db backend is used.
  57. 0.8.0 [2009-09-22 03:06 P.M CEST]
  58. ---------------------------------
  59. **BACKWARD INCOMPATIBLE CHANGES**
  60. * Add traceback to result value on failure.
  61. **NOTE** If you use the database backend you have to re-create the
  62. database table ``celery_taskmeta``.
  63. Contact the mailinglist or IRC channel listed in README for help
  64. doing this.
  65. * Database tables are now only created if the database backend is used,
  66. so if you change back to the database backend at some point,
  67. be sure to initialize tables (django: ``syncdb``, python: ``celeryinit``).
  68. (Note: This is only the case when using Django 1.1 or higher)
  69. * Now depends on ``carrot`` version 0.6.0.
  70. * Now depends on python-daemon 1.4.8
  71. **IMPORTANT CHANGES**
  72. * Celery can now be used in pure Python (outside of a Django project).
  73. This means celery is no longer Django specific.
  74. For more information see the FAQ entry
  75. `Can I use celery without Django?`_.
  76. .. _`Can I use celery without Django?`:
  77. http://ask.github.com/celery/faq.html#can-i-use-celery-without-django
  78. * Celery now supports task retries.
  79. See `Cookbook: Retrying Tasks`_ for more information.
  80. .. _`Cookbook: Retrying Tasks`:
  81. http://ask.github.com/celery/cookbook/task-retries.html
  82. * We now have an AMQP result store backend.
  83. It uses messages to publish task return value and status. And it's
  84. incredibly fast!
  85. See http://github.com/ask/celery/issues/closed#issue/6 for more info!
  86. * AMQP QoS (prefetch count) implemented:
  87. This to not receive more messages than we can handle.
  88. * Now redirects stdout/stderr to the celeryd logfile when detached
  89. * Now uses ``inspect.getargspec`` to only pass default arguments
  90. the task supports.
  91. * Add Task.on_success, .on_retry, .on_failure handlers
  92. See :meth:`celery.task.base.Task.on_success`,
  93. :meth:`celery.task.base.Task.on_retry`,
  94. :meth:`celery.task.base.Task.on_failure`,
  95. * ``celery.utils.gen_unique_id``: Workaround for
  96. http://bugs.python.org/issue4607
  97. * You can now customize what happens at worker start, at process init, etc
  98. by creating your own loaders. (see :mod:`celery.loaders.default`,
  99. :mod:`celery.loaders.djangoapp`, :mod:`celery.loaders`.)
  100. * Support for multiple AMQP exchanges and queues.
  101. This feature misses documentation and tests, so anyone interested
  102. is encouraged to improve this situation.
  103. * celeryd now survives a restart of the AMQP server!
  104. Automatically re-establish AMQP broker connection if it's lost.
  105. New settings:
  106. * AMQP_CONNECTION_RETRY
  107. Set to ``True`` to enable connection retries.
  108. * AMQP_CONNECTION_MAX_RETRIES.
  109. Maximum number of restarts before we give up. Default: ``100``.
  110. **NEWS**
  111. * Fix an incompatibility between python-daemon and multiprocessing,
  112. which resulted in the ``[Errno 10] No child processes`` problem when
  113. detaching.
  114. * Fixed a possible DjangoUnicodeDecodeError being raised when saving pickled
  115. data to Django's memcached cache backend.
  116. * Better Windows compatibility.
  117. * New version of the pickled field (taken from
  118. http://www.djangosnippets.org/snippets/513/)
  119. * New signals introduced: ``task_sent``, ``task_prerun`` and
  120. ``task_postrun``, see :mod:`celery.signals` for more information.
  121. * ``TaskSetResult.join`` caused ``TypeError`` when ``timeout=None``.
  122. Thanks Jerzy Kozera. Closes #31
  123. * ``views.apply`` should return ``HttpResponse`` instance.
  124. Thanks to Jerzy Kozera. Closes #32
  125. * ``PeriodicTask``: Save conversion of ``run_every`` from ``int``
  126. to ``timedelta`` to the class attribute instead of on the instance.
  127. * Exceptions has been moved to ``celery.exceptions``, but are still
  128. available in the previous module.
  129. * Try to rollback transaction and retry saving result if an error happens
  130. while setting task status with the database backend.
  131. * jail() refactored into :class:`celery.execute.ExecuteWrapper`.
  132. * ``views.apply`` now correctly sets mimetype to "application/json"
  133. * ``views.task_status`` now returns exception if status is RETRY
  134. * ``views.task_status`` now returns traceback if status is "FAILURE"
  135. or "RETRY"
  136. * Documented default task arguments.
  137. * Add a sensible __repr__ to ExceptionInfo for easier debugging
  138. * Fix documentation typo ``.. import map`` -> ``.. import dmap``.
  139. Thanks mikedizon
  140. 0.6.0 [2009-08-07 06:54 A.M CET]
  141. --------------------------------
  142. **IMPORTANT CHANGES**
  143. * Fixed a bug where tasks raising unpickleable exceptions crashed pool
  144. workers. So if you've had pool workers mysteriously dissapearing, or
  145. problems with celeryd stopping working, this has been fixed in this
  146. version.
  147. * Fixed a race condition with periodic tasks.
  148. * The task pool is now supervised, so if a pool worker crashes,
  149. goes away or stops responding, it is automatically replaced with
  150. a new one.
  151. * Task.name is now automatically generated out of class module+name, e.g.
  152. ``"djangotwitter.tasks.UpdateStatusesTask"``. Very convenient. No idea why
  153. we didn't do this before. Some documentation is updated to not manually
  154. specify a task name.
  155. **NEWS**
  156. * Tested with Django 1.1
  157. * New Tutorial: Creating a click counter using carrot and celery
  158. * Database entries for periodic tasks are now created at ``celeryd``
  159. startup instead of for each check (which has been a forgotten TODO/XXX
  160. in the code for a long time)
  161. * New settings variable: ``CELERY_TASK_RESULT_EXPIRES``
  162. Time (in seconds, or a `datetime.timedelta` object) for when after
  163. stored task results are deleted. For the moment this only works for the
  164. database backend.
  165. * ``celeryd`` now emits a debug log message for which periodic tasks
  166. has been launched.
  167. * The periodic task table is now locked for reading while getting
  168. periodic task status. (MySQL only so far, seeking patches for other
  169. engines)
  170. * A lot more debugging information is now available by turning on the
  171. ``DEBUG`` loglevel (``--loglevel=DEBUG``).
  172. * Functions/methods with a timeout argument now works correctly.
  173. * New: ``celery.strategy.even_time_distribution``:
  174. With an iterator yielding task args, kwargs tuples, evenly distribute
  175. the processing of its tasks throughout the time window available.
  176. * Log message ``Unknown task ignored...`` now has loglevel ``ERROR``
  177. * Log message ``"Got task from broker"`` is now emitted for all tasks, even if
  178. the task has an ETA (estimated time of arrival). Also the message now
  179. includes the ETA for the task (if any).
  180. * Acknowledgement now happens in the pool callback. Can't do ack in the job
  181. target, as it's not pickleable (can't share AMQP connection, etc)).
  182. * Added note about .delay hanging in README
  183. * Tests now passing in Django 1.1
  184. * Fixed discovery to make sure app is in INSTALLED_APPS
  185. * Previously overrided pool behaviour (process reap, wait until pool worker
  186. available, etc.) is now handled by ``multiprocessing.Pool`` itself.
  187. * Convert statistics data to unicode for use as kwargs. Thanks Lucy!
  188. 0.4.1 [2009-07-02 01:42 P.M CET]
  189. --------------------------------
  190. * Fixed a bug with parsing the message options (``mandatory``,
  191. ``routing_key``, ``priority``, ``immediate``)
  192. 0.4.0 [2009-07-01 07:29 P.M CET]
  193. --------------------------------
  194. * Adds eager execution. ``celery.execute.apply``|``Task.apply`` executes the
  195. function blocking until the task is done, for API compatiblity it
  196. returns an ``celery.result.EagerResult`` instance. You can configure
  197. celery to always run tasks locally by setting the
  198. ``CELERY_ALWAYS_EAGER`` setting to ``True``.
  199. * Now depends on ``anyjson``.
  200. * 99% coverage using python ``coverage`` 3.0.
  201. 0.3.20 [2009-06-25 08:42 P.M CET]
  202. ---------------------------------
  203. * New arguments to ``apply_async`` (the advanced version of
  204. ``delay_task``), ``countdown`` and ``eta``;
  205. >>> # Run 10 seconds into the future.
  206. >>> res = apply_async(MyTask, countdown=10);
  207. >>> # Run 1 day from now
  208. >>> res = apply_async(MyTask, eta=datetime.now() +
  209. ... timedelta(days=1)
  210. * Now unlinks the pidfile if it's stale.
  211. * Lots of more tests.
  212. * Now compatible with carrot >= 0.5.0.
  213. * **IMPORTANT** The ``subtask_ids`` attribute on the ``TaskSetResult``
  214. instance has been removed. To get this information instead use:
  215. >>> subtask_ids = [subtask.task_id for subtask in ts_res.subtasks]
  216. * ``Taskset.run()`` now respects extra message options from the task class.
  217. * Task: Add attribute ``ignore_result``: Don't store the status and
  218. return value. This means you can't use the
  219. ``celery.result.AsyncResult`` to check if the task is
  220. done, or get its return value. Only use if you need the performance
  221. and is able live without these features. Any exceptions raised will
  222. store the return value/status as usual.
  223. * Task: Add attribute ``disable_error_emails`` to disable sending error
  224. emails for that task.
  225. * Should now work on Windows (although running in the background won't
  226. work, so using the ``--detach`` argument results in an exception
  227. being raised.)
  228. * Added support for statistics for profiling and monitoring.
  229. To start sending statistics start ``celeryd`` with the
  230. ``--statistics`` option. Then after a while you can dump the results
  231. by running ``python manage.py celerystats``. See
  232. ``celery.monitoring`` for more information.
  233. * The celery daemon can now be supervised (i.e it is automatically
  234. restarted if it crashes). To use this start celeryd with the
  235. ``--supervised`` option (or alternatively ``-S``).
  236. * views.apply: View applying a task. Example::
  237. http://e.com/celery/apply/task_name/arg1/arg2//?kwarg1=a&kwarg2=b
  238. **NOTE** Use with caution, preferably not make this publicly
  239. accessible without ensuring your code is safe!
  240. * Refactored ``celery.task``. It's now split into three modules:
  241. * celery.task
  242. Contains ``apply_async``, ``delay_task``, ``discard_all``, and task
  243. shortcuts, plus imports objects from ``celery.task.base`` and
  244. ``celery.task.builtins``
  245. * celery.task.base
  246. Contains task base classes: ``Task``, ``PeriodicTask``,
  247. ``TaskSet``, ``AsynchronousMapTask``, ``ExecuteRemoteTask``.
  248. * celery.task.builtins
  249. Built-in tasks: ``PingTask``, ``DeleteExpiredTaskMetaTask``.
  250. 0.3.7 [2008-06-16 11:41 P.M CET]
  251. --------------------------------
  252. * **IMPORTANT** Now uses AMQP's ``basic.consume`` instead of
  253. ``basic.get``. This means we're no longer polling the broker for
  254. new messages.
  255. * **IMPORTANT** Default concurrency limit is now set to the number of CPUs
  256. available on the system.
  257. * **IMPORTANT** ``tasks.register``: Renamed ``task_name`` argument to
  258. ``name``, so
  259. >>> tasks.register(func, task_name="mytask")
  260. has to be replaced with:
  261. >>> tasks.register(func, name="mytask")
  262. * The daemon now correctly runs if the pidlock is stale.
  263. * Now compatible with carrot 0.4.5
  264. * Default AMQP connnection timeout is now 4 seconds.
  265. * ``AsyncResult.read()`` was always returning ``True``.
  266. * Only use README as long_description if the file exists so easy_install
  267. doesn't break.
  268. * ``celery.view``: JSON responses now properly set its mime-type.
  269. * ``apply_async`` now has a ``connection`` keyword argument so you
  270. can re-use the same AMQP connection if you want to execute
  271. more than one task.
  272. * Handle failures in task_status view such that it won't throw 500s.
  273. * Fixed typo ``AMQP_SERVER`` in documentation to ``AMQP_HOST``.
  274. * Worker exception e-mails sent to admins now works properly.
  275. * No longer depends on ``django``, so installing ``celery`` won't affect
  276. the preferred Django version installed.
  277. * Now works with PostgreSQL (psycopg2) again by registering the
  278. ``PickledObject`` field.
  279. * ``celeryd``: Added ``--detach`` option as an alias to ``--daemon``, and
  280. it's the term used in the documentation from now on.
  281. * Make sure the pool and periodic task worker thread is terminated
  282. properly at exit. (So ``Ctrl-C`` works again).
  283. * Now depends on ``python-daemon``.
  284. * Removed dependency to ``simplejson``
  285. * Cache Backend: Re-establishes connection for every task process
  286. if the Django cache backend is memcached/libmemcached.
  287. * Tyrant Backend: Now re-establishes the connection for every task
  288. executed.
  289. 0.3.3 [2009-06-08 01:07 P.M CET]
  290. --------------------------------
  291. * The ``PeriodicWorkController`` now sleeps for 1 second between checking
  292. for periodic tasks to execute.
  293. 0.3.2 [2009-06-08 01:07 P.M CET]
  294. --------------------------------
  295. * celeryd: Added option ``--discard``: Discard (delete!) all waiting
  296. messages in the queue.
  297. * celeryd: The ``--wakeup-after`` option was not handled as a float.
  298. 0.3.1 [2009-06-08 01:07 P.M CET]
  299. --------------------------------
  300. * The `PeriodicTask`` worker is now running in its own thread instead
  301. of blocking the ``TaskController`` loop.
  302. * Default ``QUEUE_WAKEUP_AFTER`` has been lowered to ``0.1`` (was ``0.3``)
  303. 0.3.0 [2009-06-08 12:41 P.M CET]
  304. --------------------------------
  305. **NOTE** This is a development version, for the stable release, please
  306. see versions 0.2.x.
  307. **VERY IMPORTANT:** Pickle is now the encoder used for serializing task
  308. arguments, so be sure to flush your task queue before you upgrade.
  309. * **IMPORTANT** TaskSet.run() now returns a celery.result.TaskSetResult
  310. instance, which lets you inspect the status and return values of a
  311. taskset as it was a single entity.
  312. * **IMPORTANT** Celery now depends on carrot >= 0.4.1.
  313. * The celery daemon now sends task errors to the registered admin e-mails.
  314. To turn off this feature, set ``SEND_CELERY_TASK_ERROR_EMAILS`` to
  315. ``False`` in your ``settings.py``. Thanks to Grégoire Cachet.
  316. * You can now run the celery daemon by using ``manage.py``::
  317. $ python manage.py celeryd
  318. Thanks to Grégoire Cachet.
  319. * Added support for message priorities, topic exchanges, custom routing
  320. keys for tasks. This means we have introduced
  321. ``celery.task.apply_async``, a new way of executing tasks.
  322. You can use ``celery.task.delay`` and ``celery.Task.delay`` like usual, but
  323. if you want greater control over the message sent, you want
  324. ``celery.task.apply_async`` and ``celery.Task.apply_async``.
  325. This also means the AMQP configuration has changed. Some settings has
  326. been renamed, while others are new::
  327. CELERY_AMQP_EXCHANGE
  328. CELERY_AMQP_PUBLISHER_ROUTING_KEY
  329. CELERY_AMQP_CONSUMER_ROUTING_KEY
  330. CELERY_AMQP_CONSUMER_QUEUE
  331. CELERY_AMQP_EXCHANGE_TYPE
  332. See the entry `Can I send some tasks to only some servers?`_ in the
  333. `FAQ`_ for more information.
  334. .. _`Can I send some tasks to only some servers?`:
  335. http://bit.ly/celery_AMQP_routing
  336. .. _`FAQ`: http://ask.github.com/celery/faq.html
  337. * Task errors are now logged using loglevel ``ERROR`` instead of ``INFO``,
  338. and backtraces are dumped. Thanks to Grégoire Cachet.
  339. * Make every new worker process re-establish it's Django DB connection,
  340. this solving the "MySQL connection died?" exceptions.
  341. Thanks to Vitaly Babiy and Jirka Vejrazka.
  342. * **IMOPORTANT** Now using pickle to encode task arguments. This means you
  343. now can pass complex python objects to tasks as arguments.
  344. * Removed dependency to ``yadayada``.
  345. * Added a FAQ, see ``docs/faq.rst``.
  346. * Now converts any unicode keys in task ``kwargs`` to regular strings.
  347. Thanks Vitaly Babiy.
  348. * Renamed the ``TaskDaemon`` to ``WorkController``.
  349. * ``celery.datastructures.TaskProcessQueue`` is now renamed to
  350. ``celery.pool.TaskPool``.
  351. * The pool algorithm has been refactored for greater performance and
  352. stability.
  353. 0.2.0 [2009-05-20 05:14 P.M CET]
  354. --------------------------------
  355. * Final release of 0.2.0
  356. * Compatible with carrot version 0.4.0.
  357. * Fixes some syntax errors related to fetching results
  358. from the database backend.
  359. 0.2.0-pre3 [2009-05-20 05:14 P.M CET]
  360. -------------------------------------
  361. * *Internal release*. Improved handling of unpickled exceptions,
  362. ``get_result`` now tries to recreate something looking like the
  363. original exception.
  364. 0.2.0-pre2 [2009-05-20 01:56 P.M CET]
  365. -------------------------------------
  366. * Now handles unpickleable exceptions (like the dynimically generated
  367. subclasses of ``django.core.exception.MultipleObjectsReturned``).
  368. 0.2.0-pre1 [2009-05-20 12:33 P.M CET]
  369. -------------------------------------
  370. * It's getting quite stable, with a lot of new features, so bump
  371. version to 0.2. This is a pre-release.
  372. * ``celery.task.mark_as_read()`` and ``celery.task.mark_as_failure()`` has
  373. been removed. Use ``celery.backends.default_backend.mark_as_read()``,
  374. and ``celery.backends.default_backend.mark_as_failure()`` instead.
  375. 0.1.15 [2009-05-19 04:13 P.M CET]
  376. ---------------------------------
  377. * The celery daemon was leaking AMQP connections, this should be fixed,
  378. if you have any problems with too many files open (like ``emfile``
  379. errors in ``rabbit.log``, please contact us!
  380. 0.1.14 [2009-05-19 01:08 P.M CET]
  381. ---------------------------------
  382. * Fixed a syntax error in the ``TaskSet`` class. (No such variable
  383. ``TimeOutError``).
  384. 0.1.13 [2009-05-19 12:36 P.M CET]
  385. ---------------------------------
  386. * Forgot to add ``yadayada`` to install requirements.
  387. * Now deletes all expired task results, not just those marked as done.
  388. * Able to load the Tokyo Tyrant backend class without django
  389. configuration, can specify tyrant settings directly in the class
  390. constructor.
  391. * Improved API documentation
  392. * Now using the Sphinx documentation system, you can build
  393. the html documentation by doing ::
  394. $ cd docs
  395. $ make html
  396. and the result will be in ``docs/.build/html``.
  397. 0.1.12 [2009-05-18 04:38 P.M CET]
  398. ---------------------------------
  399. * ``delay_task()`` etc. now returns ``celery.task.AsyncResult`` object,
  400. which lets you check the result and any failure that might have
  401. happened. It kind of works like the ``multiprocessing.AsyncResult``
  402. class returned by ``multiprocessing.Pool.map_async``.
  403. * Added dmap() and dmap_async(). This works like the
  404. ``multiprocessing.Pool`` versions except they are tasks
  405. distributed to the celery server. Example:
  406. >>> from celery.task import dmap
  407. >>> import operator
  408. >>> dmap(operator.add, [[2, 2], [4, 4], [8, 8]])
  409. >>> [4, 8, 16]
  410. >>> from celery.task import dmap_async
  411. >>> import operator
  412. >>> result = dmap_async(operator.add, [[2, 2], [4, 4], [8, 8]])
  413. >>> result.ready()
  414. False
  415. >>> time.sleep(1)
  416. >>> result.ready()
  417. True
  418. >>> result.result
  419. [4, 8, 16]
  420. * Refactored the task metadata cache and database backends, and added
  421. a new backend for Tokyo Tyrant. You can set the backend in your django
  422. settings file. e.g::
  423. CELERY_BACKEND = "database"; # Uses the database
  424. CELERY_BACKEND = "cache"; # Uses the django cache framework
  425. CELERY_BACKEND = "tyrant"; # Uses Tokyo Tyrant
  426. TT_HOST = "localhost"; # Hostname for the Tokyo Tyrant server.
  427. TT_PORT = 6657; # Port of the Tokyo Tyrant server.
  428. 0.1.11 [2009-05-12 02:08 P.M CET]
  429. ---------------------------------
  430. * The logging system was leaking file descriptors, resulting in
  431. servers stopping with the EMFILES (too many open files) error. (fixed)
  432. 0.1.10 [2009-05-11 12:46 P.M CET]
  433. ---------------------------------
  434. * Tasks now supports both positional arguments and keyword arguments.
  435. * Requires carrot 0.3.8.
  436. * The daemon now tries to reconnect if the connection is lost.
  437. 0.1.8 [2009-05-07 12:27 P.M CET]
  438. --------------------------------
  439. * Better test coverage
  440. * More documentation
  441. * celeryd doesn't emit ``Queue is empty`` message if
  442. ``settings.CELERYD_EMPTY_MSG_EMIT_EVERY`` is 0.
  443. 0.1.7 [2009-04-30 1:50 P.M CET]
  444. -------------------------------
  445. * Added some unittests
  446. * Can now use the database for task metadata (like if the task has
  447. been executed or not). Set ``settings.CELERY_TASK_META``
  448. * Can now run ``python setup.py test`` to run the unittests from
  449. within the ``testproj`` project.
  450. * Can set the AMQP exchange/routing key/queue using
  451. ``settings.CELERY_AMQP_EXCHANGE``, ``settings.CELERY_AMQP_ROUTING_KEY``,
  452. and ``settings.CELERY_AMQP_CONSUMER_QUEUE``.
  453. 0.1.6 [2009-04-28 2:13 P.M CET]
  454. -------------------------------
  455. * Introducing ``TaskSet``. A set of subtasks is executed and you can
  456. find out how many, or if all them, are done (excellent for progress
  457. bars and such)
  458. * Now catches all exceptions when running ``Task.__call__``, so the
  459. daemon doesn't die. This does't happen for pure functions yet, only
  460. ``Task`` classes.
  461. * ``autodiscover()`` now works with zipped eggs.
  462. * celeryd: Now adds curernt working directory to ``sys.path`` for
  463. convenience.
  464. * The ``run_every`` attribute of ``PeriodicTask`` classes can now be a
  465. ``datetime.timedelta()`` object.
  466. * celeryd: You can now set the ``DJANGO_PROJECT_DIR`` variable
  467. for ``celeryd`` and it will add that to ``sys.path`` for easy launching.
  468. * Can now check if a task has been executed or not via HTTP.
  469. * You can do this by including the celery ``urls.py`` into your project,
  470. >>> url(r'^celery/$', include("celery.urls"))
  471. then visiting the following url,::
  472. http://mysite/celery/$task_id/done/
  473. this will return a JSON dictionary like e.g:
  474. >>> {"task": {"id": $task_id, "executed": true}}
  475. * ``delay_task`` now returns string id, not ``uuid.UUID`` instance.
  476. * Now has ``PeriodicTasks``, to have ``cron`` like functionality.
  477. * Project changed name from ``crunchy`` to ``celery``. The details of
  478. the name change request is in ``docs/name_change_request.txt``.
  479. 0.1.0 [2009-04-24 11:28 A.M CET]
  480. --------------------------------
  481. * Initial release