Project

General

Profile

Actions

Task #4163

open

[ce, ee] celery refactor + upgrade

Added by Daniel D about 8 years ago. Updated about 8 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 2 (1 open1 closed)

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

Actions
Task #4169: re-architecture celery supportResolved12.08.2016

Actions
Actions #1

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

Actions #2

Updated by Marcin Kuzminski [CTO] about 8 years ago

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

Actions

Also available in: Atom PDF