[ce, ee] celery refactor + upgrade
Currently celery is being loaded with legacy pylons method and uses magic for configuration setup, we are also on celery 2.2.10 which is old and is lacking features which we need for a 'correct' implementation.
- upgrade celery
- remove the celerypylons module
- make/configure a celery app in load_pyramid_environment()
- update all tasks to work with this celeryapp object
#1 Updated by Daniel D over 3 years ago
After speaking with Marcin Lulek it seems pyramid_celery is not a good idea as it is not maintained, so it would be a good idea to use the same method Appenlight does. It might be good idea to refactor this into a separate module so that both Appenlight/Rhodecode can use it.