Commit Graph

11 Commits

Author SHA1 Message Date
Aditya f05625eb82 Use https for external links wherever possible 2018-10-27 17:58:45 +05:30
David Lord d5a88bf0d3
explain when to use a task queue
remove deprecated abstract attr from celery
add explanation of example task
[ci skip]
2017-05-15 12:40:09 -07:00
Geoffrey Bauduin 2b03eca1b7 Updated Celery pattern
The given pattern caused Celery to lose the current Context
2016-10-11 15:27:48 +02:00
sanderl-mediamonks 3313b8b0a4 Use the correct Celery result backend setting 2016-08-22 11:49:52 +02:00
Markus Unterwaditzer b471df6c88 Point to stable version of Celery 2015-06-08 15:18:34 +02:00
Andrew 337a9d6172 Include backend argument when instantiating Celery
Not including the backend argument can lead to AttributeError:
DisabledBackend object has no attribute for '_get_task_meta_for'.

See e.g.
http://stackoverflow.com/questions/23215311/celery-with-rabbitmq-attributeerror-disabledbackend-object-has-no-attribute.

At the same time, including the backend argument doesn't seem to harm anything else.
2015-06-06 03:35:04 +02:00
defuz 02694d609f docs: :command:`pip`, :option:`--debug` 2014-11-05 07:03:55 +03:00
Armin Ronacher e95cef66a3 Merge pull request #931 from aphexcx/patch-1
Update celery.rst
2014-02-08 17:47:22 +00:00
Alex Pearce 3d6de4dd79 Explicitly pass the Celery instance name.
When starting a Celery worker module, it is assumed that the Celery instance within the module is called `app`. This is not the case in the Celery pattern, where it is called `celery`, and so must be explicitly referenced.
2014-02-05 20:11:06 +00:00
Afik 67c165bcbb Update celery.rst
With the latest version of Celery (3.1.6), following this tutorial produces the following error when attempting to start the celery worker: 

    user_preload = tuple(self.app.user_options['preload'] or ())
AttributeError: 'Flask' object has no attribute 'user_options'

Using `app` as the variable name here confuses celery. Renaming `app` to `flask_app` in the tutorial solves the issue and allows the celery worker to start successfully.
2013-12-16 22:04:51 -08:00
Armin Ronacher 05f162329d Added celery pattern 2013-01-27 00:38:25 +00:00