2019-02-09 19:42:36 +04:00
|
|
|
from raven import Client
|
|
|
|
|
2020-04-16 23:56:10 -06:00
|
|
|
from app.core.config import settings
|
2019-02-09 19:42:36 +04:00
|
|
|
from app.core.celery_app import celery_app
|
|
|
|
|
2020-04-16 23:56:10 -06:00
|
|
|
client_sentry = Client(settings.SENTRY_DSN)
|
2019-02-09 19:42:36 +04:00
|
|
|
|
|
|
|
|
|
|
|
@celery_app.task(acks_late=True)
|
|
|
|
def test_celery(word: str):
|
|
|
|
return f"test task return {word}"
|