Configuration

Default configuration values for Celery integration.

For further Celery configuration variables see Celery documentation.

invenio_celery.config.CELERY_ACCEPT_CONTENT = ['json', 'msgpack', 'yaml']

A whitelist of content-types/serializers.

invenio_celery.config.CELERY_BROKER_URL = 'redis://localhost:6379/0'

Broker settings.

invenio_celery.config.CELERY_RESULT_BACKEND = 'redis://localhost:6379/1'

The backend used to store task results.

invenio_celery.config.CELERY_RESULT_SERIALIZER = 'msgpack'

Result serialization format. Default is msgpack.

invenio_celery.config.CELERY_TASK_SERIALIZER = 'msgpack'

The default serialization method to use. Default is msgpack.