celery.py 555 Bytes
Newer Older
Carina Antunes's avatar
Carina Antunes committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# This file is part of CERN Search.
# Copyright (C) 2018-2021 CERN.
#
# Citadel Search is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
"""Celery utilities."""

# from flask_celeryext import create_celery_app
# from invenio_app.factory import create_app
#
# LOGGING_SENTRY_CELERY = True
#
# celery = create_celery_app(create_app(LOGGING_SENTRY_CELERY=LOGGING_SENTRY_CELERY))
# celery.flask_app.logger.debug("force logger init")