Project

General

Profile

Task #4163

[ce, ee] celery refactor + upgrade

Added by Daniel D about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
31.07.2016
Due date:
% Done:

50%

Estimated time:
(Total: 0.00 h)
Sorting:
Commit Number:

Description

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.

We must:

  • upgrade celery
  • remove the celerypylons module
  • make/configure a celery app in load_pyramid_environment()
  • update all tasks to work with this celeryapp object

Subtasks

Task #4139: Bring celery workers up to shapen with initializing pyramid + pylons stackClosedDaniel D

Task #4169: re-architecture celery supportResolved

History

#1 Updated by Daniel D about 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.

#2 Updated by Marcin Kuzminski [staff] about 3 years ago

like the idea of a module we could re-use !

Also available in: Atom PDF