Page MenuHomeSoftware Heritage

Make the celery app easier to configure
ClosedPublic

Authored by douardda on Jan 31 2019, 3:55 PM.

Details

Summary

Add a build_app() function to instantiate a Celery app with controlled config
ie. being able to give the celery config dict as parameter.

Also build the celery app used in cli tools (runner and listener) from a celery
section of the given configuration file.

related to T1410

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.